| 💻 Christmas Tree |
📝 Decorating a Christmas tree with a quantum computer. Uses both Q# and Qiskit (Aer) simulators. |
Link |
Executable |
| 💻 Quokka |
📝 A Jupyter notebook showing how to run Q# code on a Quokka quantum simulator. |
Link |
Jupyter Notebook |
| 💻 Certified deletion |
📝 Q# sample illustrating Quantum encryption with certified deletion from Anne Broadbent and Rabib Islam. |
Link |
Executable |
| 💻 Elitzur-Vaidman tester |
📝 Elitzur-Vaidman bomb tester thought experiment, as a playful Q# Santa-themed sample |
Link |
Executable |
| 💻 Hidden shift |
📝 Hidden shift problem |
N/A |
Executable |
| 💻 Simon's algorithm |
📝 A toy demonstration of Simon's algorithm |
N/A |
Executable |
| 💻 Certified randomness amplification |
📝 Q# sample illustrating Certified randomness amplification, Liu et al, arXiv:2511.03686, 2025. |
Link |
Jupyter Notebook |
| 💻 Composite qDRIFT |
📝 Q# implementation of the Hagan-Wiebe composite Trotter/qDRIFT channel, used to measure the cost objective of Optimal Lower Bounds for Hamiltonian Simulation, Zlokapa, Allen and Harrow, arXiv:2607.19852, 2026, on power-law Hamiltonians with an exact channel evaluation. |
Link |
Executable |
| 💻 Stabilizer cloning |
📝 Bell difference sampling learner for stabilizer states on the QDK stabilizer simulator (up to 512 qubits), measuring the Θ(n) sample complexity of cloning from Cloning is as Hard as Learning for Stabilizer States, Bansal, Caro and Mahajan, arXiv:2604.15269, 2026. Needs the qdk package (see its README). |
Link |
Executable |
| 💻 Weak values |
📝 Q# demo of Measuring the spin of a spin-1/2 and getting a result of 7, McGowan, Mantella, Baker and Steinberg, arXiv:2609.37822, 2026: the Aharonov-Albert-Vaidman weak Stern-Gerlach measurement on 7 qubits (a spin and a 6-qubit momentum pointer, the kick as Rzz gates, read-out by QFT). The post-selected pointer shift from Q# state dumps against the closed form at every strength, the paper's Fig. 2 from shots, and one million shots that read S_z = 7 for a spin-1/2. Needs the qdk package. |
N/A |
Executable |
| 💻 Quantum echoes |
📝 Q# demo of the out-of-time-order correlators of Constructive interference at the edge of quantum ergodic dynamics, Google Quantum AI, arXiv:2506.10191, 2025: random circuits of XY rotations and iSWAP-like gates on a grid, the echo B(t) = U†BU as one within/apply block, nested echoes for OTOC and OTOC(2), and Pauli insertion. The Q# of Copenhagen's Papers page. |
N/A |
Library |
| 💻 Ordered search |
📝 Q# demo of the zero-error algorithm of Optimal Quantum Algorithms for Ordered Search, Carolan and Childs, arXiv:2609.34293, 2026, on a 9- to 12-qubit ring: a comparison oracle and a sign flip between two QFTs move a log-Gaussian wave packet towards the step with every query. The Q# of Copenhagen's Papers page. |
N/A |
Library |
| 💻 Unclonable encryption |
📝 Q# demo of Unclonable encryption from Pauli eigenstates, Ananth, Ragavan and Sahai, arXiv:2607.21551, 2026: a bit encrypted as an eigenstate of a secret Pauli string, with two of our own attacks measured against the bound. The Q# of Copenhagen's Papers page. |
N/A |
Library |