From e6ca7ac3096507f0888be3480cb4a75253a4f737 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Tue, 13 Feb 2024 18:55:48 -0500 Subject: [PATCH] Tue Feb 13 06:55:48 PM EST 2024 --- examples/decoherence.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; -- 2.39.5