Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
QuantumFramework
Tutorials
Getting Started
Guides
Wolfram Quantum Computation Framework
Tech Notes
Bell's Theorem
Circuit Diagram
Exploring Fundamentals of Quantum Theory
Quantum object abstraction
Quantum Optimization
Second Quantization Functions
Tensor Network
Quantum Computation
Symbols
QuantumBasis
QuantumChannel
QuantumCircuitMultiwayGraph [EXPERIMENTAL]
QuantumCircuitOperator
QuantumDistance
QuantumEntangledQ
QuantumEntanglementMonotone
QuantumEvolve
QuantumMeasurement
QuantumMeasurementOperator
QuantumMeasurementSimulation
QuantumMPS [EXPERIMENTAL]
QuantumOperator
QuantumPartialTrace
QuantumPhaseSpaceTransform
QuantumShortcut [EXPERIMENTAL]
QuantumStateEstimate [EXPERIMENTAL]
QuantumState
QuantumTensorProduct
QuantumWignerMICTransform [EXPERIMENTAL]
QuantumWignerTransform [EXPERIMENTAL]
QuditBasis
QuditName
Wolfram`QuantumFramework`
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
[
q
s
1
,
q
s
2
,
t
]
r
e
t
u
r
n
s
t
h
e
d
i
s
t
a
n
c
e
b
e
t
w
e
e
n
t
w
o
q
u
a
n
t
u
m
d
i
s
c
r
e
t
e
s
t
a
t
e
s
u
s
i
n
g
m
e
a
s
u
r
e
t
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
6
)
Basic Examples
(
4
)
Find the distance between two pure states in terms of fidelity:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
Q
u
a
n
t
u
m
S
t
a
t
e
[
"
0
"
]
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
"
1
"
]
O
u
t
[
1
]
=
0
Find the distance between two mixed states in terms of fidelity:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
/
4
,
0
}
,
{
0
,
3
/
4
}
}
]
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
,
0
}
,
{
0
,
1
}
}
]
O
u
t
[
1
]
=
1
2
+
3
2
Find the distance between a pure state and a mixed state:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
/
4
,
0
}
,
{
0
,
3
/
4
}
}
]
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
1
,
0
}
]
O
u
t
[
1
]
=
1
2
Find the distance between two quantum states using the trace metric:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
D
i
s
t
a
n
c
e
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
/
4
,
1
}
,
{
1
,
3
/
4
}
}
]
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
/
2
,
2
}
,
{
2
,
1
/
2
}
}
]
,
"
T
r
a
c
e
"
O
u
t
[
1
]
=
1
7
4
S
c
o
p
e
(
2
)
S
e
e
A
l
s
o
Q
u
a
n
t
u
m
S
t
a
t
e
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
W
o
l
f
r
a
m
Q
u
a
n
t
u
m
C
o
m
p
u
t
a
t
i
o
n
F
r
a
m
e
w
o
r
k
"
"