Coding - Silq
Coding - Silq
Programming Language
Qiskit Quipper
QWire
Safe automatic More intuitive
uncomputation semantics
LIQ𝑈𝑖|〉 QASM
Forest … Downstream
Physicality applications
Source of icons: https://fontawesome.com
Quantum Programming Languages
Concept Explanation
State of quantum bit 𝜑 = 𝛾0 ȁ0ۧ + 𝛾1 ȁ1ۧ for 𝛾0 , 𝛾1 ∈ ℂ
1 1
(Computational) basis states ห0ۧ, ȁ1ۧ, but not ȁ0 ۧ + ȁ1 ۧ
2 2
Time
Grover’s Algorithm in Silq
Grover’s Algorithm in Silq
Grover’s Algorithm in Silq
Grover’s Algorithm in Silq
𝑔 classical bijection
y:=f(x);
if f(cand) {
phase(𝜋); 1 1
} ȁ𝑣 ۧcand ȁ0ۧtmp − ȁ𝑤 ∗ ۧcand ȁ1ۧtmp
𝑣≠𝑤 ∗
2𝑛 2𝑛
implicit measurement
1 1
ȁ𝑣 ۧcand ȁ0ۧtmp ȁ𝑤 ∗ ۧcand ȁ1ۧtmp
2𝑛 2𝑛
𝑣≠𝑤 ∗
Automatic Uncomputation
const
if f(cand) {
phase(𝜋); 1 1
} ȁ𝑣 ۧcand ȁ0ۧtmp − ȁ𝑤 ∗ ۧcand ȁ1ۧtmp
𝑣≠𝑤 ∗
2𝑛 2𝑛
qfree
Live Coding
Summary of Type Annotations
Documentation on http://silq.ethz.ch/documentation#/documentation/1_annotations
mfree const
classical qfree
Source of icons: https://fontawesome.com
Downstream Applications
Simulation Compilation
Research Teaching
Source of icons: https://fontawesome.com
Try Silq Yourself!
Benjamin Bichsel
Ask & Contact us! Max Baader
Complain! Timon Gehr
Bachelor/Master thesis Prof. Martin Vechev
In person or Research projects (ETH Zürich)
via Slack channel PhD
https://www.sri.inf.ethz.ch/