qreg q[2];
creg c[4];
+//The paths through the circuit are designated
+// as upper or lower and there are three parts
+// of the circuit, the before, midway, and
+// after section. The photon enters on the
+// before-upper path and the bomb is placed on
+// the midway-upper path, and then final
+// measurements are made on the after-upper
+// and after-lower path.
+
//Get random bomb
h q[0];
measure q[0] -> c[3];
reset q[0];
-//10: photon entering on the upper path
+//10: photon entering on the before-upper path
x q[1];
//beam splitter
measure q[1] -> c[1];
//ABCD
-//A = the chosen bomb is a dud or live
-//B = the bomb measures the photon (on the upper path)
-//C = the photon took the upper path
-//D = the photon took the lower path
+//A = the chosen bomb is a dud or live (placed on the midway-upper path)
+//B = the bomb measures the photon (on the midway-upper path)
+//C = the photon took the after-upper path
+//D = the photon took the after-lower path
//
//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.
+//Recall that the bomb is measured on the midway-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).
+// The photon could not have taken the midway-upper path
+// where the bomb is or else it would have been measured,
+// yet the observer can know for certainty the bomb is
+// live without interacting with it (allegedly).
sample;