Wolfram`QuantumFramework`
QuantumDistance |
| QuantumDistance[ qs 1 qs 2 qs 1 qs 2 |
| QuantumDistance[ qs 1 qs 2 t |
Details
Examples
(7)
Basic Examples
(4)
Find the distance between two pure states in terms of (1-fidelity):
In[2]:=
QuantumDistance |
QuantumState |
QuantumState |
Out[2]=
0
———
Find the distance between two mixed states:
In[1]:=
QuantumDistance |
QuantumState |
QuantumState |
Out[1]=
2
1
2
3
2
———
Find the distance between a pure state and a mixed state:
In[1]:=
QuantumDistance |
QuantumState |
QuantumState |
Out[1]=
1
4
———
Find the distance between two quantum states using the trace metric:
In[1]:=
QuantumDistance |
QuantumState |
QuantumState |
Out[1]=
17
4
Scope
(2)
Applications
(1)
![]() |
|