Exploring Fundamentals of Quantum Theory
We will explore some important experiment in the foundation of quantum theory, using the Wolfram Quantum Framework. In this document, we will discuss quantum eraser, Elitzur-Vaidman bomb experiment, Hardy’s paradox, and quantum SWITCH.
In[1]:=
Quantum Eraser
If there is path information (stored somewhere, regardless of whether it is measured or not), there won’t be any interference. The mere presence of path information kills quantum interference. But by erasing the path information, one can recover quantum interference. In the following setup, clicking all detectors corresponds to a no-interference case, and clicking of only D1 and D4 corresponds to the interference case.
With path information: no interference
With path information: no interference
Prepare a series of quantum gates representing the above setup:
In[61]:=
ops={"H","CX","H",{1},{2}};
Construct the quantum circuit:
In[62]:=
qc=
[ops];qc["Diagram"]
QuantumCircuitOperator |
Out[63]=
Calculate the system evolution through each step:
In[64]:=
steps=ComposeListqc["Operators"],
[{"Register",2}];
QuantumState |
Show the states prior to measurement:
In[65]:=
Grid[Transpose[{Style[#,Bold]&/@{"Initial state","After 1st Hadamard","After CNOT","After 2nd Hadamard"},#["Formula"]&/@steps〚;;-3〛}],FrameAll,AlignmentLeft]
Out[65]=
Initial state | |00〉 |
After 1st Hadamard | |00〉 2 |10〉 2 |
After CNOT | |00〉 2 |11〉 2 |
After 2nd Hadamard | |00〉 2 |01〉 2 |10〉 2 |11〉 2 |
Get the probability of each outcome:
In[66]:=
qc
[{"Register",2}]["ProbabilityPlot"]
QuantumState |
Out[66]=
Erasing path information: interference
Erasing path information: interference
Prepare a series of quantum gates representing above setup:
In[67]:=
ops={"H","CX","H","H"2,{1},{2}};
Construct the quantum circuit:
In[68]:=
qc=
[ops];qc["Diagram"]
QuantumCircuitOperator |
Out[69]=
Note that the Hadamard gate acting on 2nd qubit serves as quantum eraser.
Calculate the system evolution through each step:
In[70]:=
steps=ComposeListqc["Operators"],
[{"Register",2}];
QuantumState |
Show the states prior to measurement:
In[71]:=
Grid[Transpose[{Style[#,Bold]&/@{"Initial state","After Hadamard on 1st qubit","After CNOT","After Hadamard on 1st qubit","After Hadamard on 2nd qubit"},#["Formula"]&/@steps〚;;-3〛}],FrameAll,AlignmentLeft]
Out[71]=
Initial state | |00〉 |
After Hadamard on 1st qubit | |00〉 2 |10〉 2 |
After CNOT | |00〉 2 |11〉 2 |
After Hadamard on 1st qubit | |00〉 2 |01〉 2 |10〉 2 |11〉 2 |
After Hadamard on 2nd qubit | |00〉 2 |11〉 2 |
Get the probability of each outcome:
In[72]:=
qc
[{"Register",2}]["ProbabilityPlot"]
QuantumState |
Out[72]=
In[13]:=
Elitzur-Vaidman bomb
Given quantum interference in a Mach-Zehnder setup with only one beam-splitter, a detector click can be inferred as the presence of an object along one arm of interferometer. However, due to the interference, there is a 50% chance that the photon does not move through that arm, as if one can infer the presence of that object without any interaction. To dramatize the case, think about that object as a bomb! This thought experiment is also called the interaction-free measurement.
Simple case: 50:50 beam splitter
Simple case: 50:50 beam splitter
Prepare a series of quantum gates representing the above setup:
In[73]:=
ops={"H","CX","H",{1},{2}};
Construct the quantum circuit:
In[74]:=
qc=
[ops];qc["Diagram"]
QuantumCircuitOperator |
Out[75]=
Get the probability of each outcome:
In[76]:=
prob=qc[]["Probabilities"]
Out[76]=
00,01,10,11
1
4
1
4
1
4
1
4
Note that detecting or means that there is interaction with bomb (or a photon passed through the arm where the bomb is), while means that, with the help of quantum interference, the bomb is detected with no interaction. Therefore, the efficiency rate can be expressed as .
|
01
〉
|
11
〉
|00〉
η
η/(++)/(1-)
P
00
P
00
P
01
P
11
P
00
P
10
Calculate the probability:
In[77]:=
prob[
|
00〉
]/(1-prob[|
10〉
])Out[77]=
1
3
Beyond 50:50 beam splitter
Beyond 50:50 beam splitter
The Hadamard gate acts like a 50:50 beam splitter. One can replace it with a (θ) gate, which is rotates along the -axis with an arbitrary angle θ:
R
y
y
In[81]:=
QuantumOperator |
Get the probability of each outcome:
Return the efficiency rate:
Plot the efficiency rate:
Increasing efficiency by using a series of beam splitters
Increasing efficiency by using a series of beam splitters
Plot the efficiency rate:
In[19]:=
Hardy’s paradox
Get the final state:
Plot the nonlocal probability in 3D:
Show the nonlocal probability as a density plot:
In[7]:=
Quantum Switch
Commuting example
Commuting example
Create a random 2D unitary operator:
Create two random commuting operators:
Consider the case where [A,B]=0:
Construct the circuit based on a quantum switch (defined in the initialization):
Perform the measurement:
The result confirms the commuting case.
Anti-commuting example
Anti-commuting example
Create a random 2D unitary operator:
Create two commuting operators:
Note that we consider the case where {A,B}=0:
Construct the circuit based on a quantum switch (defined in the initialization):
Perform the measurement:
The result confirms the anti-commuting case.