Migrate remaining footnote-style collection access in examples, public/structure, and ext/lib smokes to [key](base); teach link-index in structure pages and use bracket calls in the cafe journal example. Co-authored-by: Cursor <cursoragent@cursor.com>
405 B
405 B
title: quantum amplitude damping smoke description: X then amplitude_damping p=1 returns all shots to |0>. import quantum:ext/quantum/quantum.mq.md
main
qc = > quantum.circuit qubits=1
qc = > qc.x qubit=0
qc = > qc.noise kind="amplitude_damping" p=1
r = > qc.run shots=32 seed=7
c0 = 0
c0== 32
print text=amp-ok
print text=amp-fail