From: miha-q <> Date: Tue, 13 Feb 2024 23:55:48 +0000 (-0500) Subject: Tue Feb 13 06:55:48 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=e6ca7ac3096507f0888be3480cb4a75253a4f737;p=QAnsel.git Tue Feb 13 06:55:48 PM EST 2024 --- diff --git a/examples/decoherence.txt b/examples/decoherence.txt index 97e74a5..c4ac0ed 100644 --- a/examples/decoherence.txt +++ b/examples/decoherence.txt @@ -1,13 +1,12 @@ //Even if we don't bother reading the contents of -// c[1], the very fact the state of q[0] was +// q[1], the very fact the state of q[0] was // recorded into something at all leads it // to lose its ability to interfere with // itself. -qreg q[1]; -creg c[2]; +qreg q[2]; +creg c[1]; h q[0]; -measure q[0] -> c[1]; +cx q[0], q[1]; h q[0]; measure q[0] -> c[0]; -reset c[1]; sample;