]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Feb 12 02:31:03 PM EST 2024
authormiha-q <>
Mon, 12 Feb 2024 19:31:03 +0000 (14:31 -0500)
committermiha-q <>
Mon, 12 Feb 2024 19:31:03 +0000 (14:31 -0500)
examples/bombtester.txt

index c0b6bb0f643b18780b0ffa38518b677053ce9f2e..e7e8ffc223dbbc2aaa2fec8269137d38efd9d64f 100644 (file)
@@ -32,14 +32,15 @@ measure q[1] -> c[1];
 
 //ABCD
 //A = the chosen bomb is a dud or live
-//B = the photon took the path of the bomb (measured by the bomb, exploded!)
+//B = the bomb measures the photon (on the upper path)
 //C = the photon took the upper path
 //D = the photon took the lower path
 //
-//There should be some probability of 1001
-//This means the bomb is live (which we place on the upper path),
-//  the photon did not take the path of the bomb (nothing detected, no explosion)
-//  and the CD=01 measurement outcome cannot occur for a dud bomb (only 10)
-//Hence, we know the bomb is live without interacting with it.
-
-sample;
\ No newline at end of file
+//In the case of the bomb being a dud, only CD=10 can occur.
+//In the case of the bomb being live, CD=01 or CD=10 can occur.
+//  Notice: CD=01 can only occur if the bomb is live.
+//Recall that the bomb is measured on the upper path.
+//  This means there is a 12.5% chance that the randomly
+//  chosen bomb is live, the bomb measures nothing, and the
+//  outcome is something unique to a bomb being live (1001).
+sample;