From: miha-q <> Date: Mon, 12 Feb 2024 19:37:00 +0000 (-0500) Subject: Mon Feb 12 02:37:00 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=812a622116a2a208f20955babf9dbbf564648ed6;p=QAnsel.git Mon Feb 12 02:37:00 PM EST 2024 --- diff --git a/examples/bombtester.txt b/examples/bombtester.txt index e7e8ffc..d40ffc5 100644 --- a/examples/bombtester.txt +++ b/examples/bombtester.txt @@ -1,12 +1,21 @@ 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 @@ -31,16 +40,20 @@ measure q[0] -> c[0]; 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;