Wolfram`QuantumFramework`
QuantumPartialTrace |
|
| | ||||
|
| |
Details and Options
Examples
(4)
Basic Examples
(3)
Trace out the first qubit from a 2-qubit state:
In[1]:=
QuantumPartialTrace |
QuantumState |
Out[1]=
QuantumState
|
Trace out the second and third qubit from a 4-qubit state:
In[1]:=
QuantumPartialTrace |
QuantumState |
Out[1]=
QuantumState
|
Trace out the second basis from a basis in tensor product form:
In[1]:=
QuantumBasis |
Out[1]=
,,,
ψ
x
-
ψ
x
-
ψ
x
-
ψ
x
+
ψ
x
+
ψ
x
-
ψ
x
+
ψ
x
+
In[2]:=
QuantumPartialTrace |
QuantumBasis |
Out[2]=
,
ψ
x
-
ψ
x
+
Applications
(1)
|
|
""