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
QuantumFramework
Tutorials
Getting Started
Guides
Wolfram Quantum Computation Framework
Tech Notes
Diagram
Exploring Fundamentals of Quantum Theory
TensorNetwork
Quantum Computation
Symbols
QuantumBasis
QuantumChannel
QuantumCircuitMultiwayGraph[EXPERIMENTAL]
QuantumCircuitOperator
QuantumDistance
QuantumEntangledQ
QuantumEntanglementMonotone
QuantumEvolve
QuantumMeasurement
QuantumMeasurementOperator
QuantumMeasurementSimulation
QuantumMPS [EXPERIMENTAL]
QuantumOperator
QuantumPartialTrace
QuantumStateEstimate[EXPERIMENTAL]
QuantumState
QuantumTensorProduct
QuditBasis
QuditName
Wolfram`QuantumFramework`
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
[
d
i
s
t
,
s
]
r
e
p
r
e
s
e
n
t
s
t
h
e
r
e
s
u
l
t
o
f
a
q
u
a
n
t
u
m
m
e
a
s
u
r
e
m
e
n
t
d
e
s
c
r
i
b
e
d
b
y
a
n
a
s
s
o
c
i
a
t
i
o
n
o
f
o
u
t
c
o
m
e
s
w
i
t
h
t
h
e
i
r
c
o
r
r
e
s
p
o
n
d
i
n
g
p
r
o
b
a
b
i
l
i
t
i
e
s
d
i
s
t
a
n
d
t
h
e
l
i
s
t
s
o
f
p
o
s
s
i
b
l
e
q
u
a
n
t
u
m
s
t
a
t
e
s
a
f
t
e
r
t
h
e
m
e
a
s
u
r
e
m
e
n
t
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
7
)
Basic Examples
(
2
)
Define a
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
object by explicitly specifying the inputs:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
Q
u
d
i
t
N
a
m
e
[
0
]
0
.
6
4
,
Q
u
d
i
t
N
a
m
e
[
1
]
0
.
3
6
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
{
1
,
2
}
,
{
0
,
1
}
}
]
,
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
0
,
1
}
]
O
u
t
[
1
]
=
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
T
a
r
g
e
t
:
{
1
}
M
e
a
s
u
r
e
m
e
n
t
O
u
t
c
o
m
e
s
:
2
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
is automatically generated when
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
O
p
e
r
a
t
o
r
acts on a state:
I
n
[
1
]
:
=
r
e
s
u
l
t
=
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
O
p
e
r
a
t
o
r
[
"
P
a
u
l
i
Z
"
,
{
1
}
]
Q
u
a
n
t
u
m
S
t
a
t
e
[
{
0
.
6
,
0
.
8
}
]
O
u
t
[
1
]
=
Q
u
a
n
t
u
m
M
e
a
s
u
r
e
m
e
n
t
T
a
r
g
e
t
:
{
1
}
M
e
a
s
u
r
e
m
e
n
t
O
u
t
c
o
m
e
s
:
2
Use property
"
D
i
s
t
r
i
b
u
t
i
o
n
"
to obtain the resulting measurement outcome's distribution:
I
n
[
2
]
:
=
r
e
s
u
l
t
[
"
D
i
s
t
r
i
b
u
t
i
o
n
"
]
O
u
t
[
2
]
=
C
a
t
e
g
o
r
i
c
a
l
D
i
s
t
r
i
b
u
t
i
o
n
I
n
p
u
t
t
y
p
e
:
S
c
a
l
a
r
C
a
t
e
g
o
r
i
e
s
:
ψ
z
-
ψ
z
+
Use property
"
S
t
a
t
e
s
"
to obtain the possible states after measurement:
I
n
[
3
]
:
=
r
e
s
u
l
t
[
"
S
t
a
t
e
s
"
]
O
u
t
[
3
]
=
Q
u
a
n
t
u
m
S
t
a
t
e
S
t
a
t
e
T
y
p
e
:
V
e
c
t
o
r
Q
u
d
i
t
s
:
1
T
y
p
e
:
P
u
r
e
D
i
m
e
n
s
i
o
n
:
2
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
,
Q
u
a
n
t
u
m
S
t
a
t
e
S
t
a
t
e
T
y
p
e
:
V
e
c
t
o
r
Q
u
d
i
t
s
:
1
T
y
p
e
:
P
u
r
e
D
i
m
e
n
s
i
o
n
:
2
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
Use property
"
S
t
a
t
e
s
A
s
s
o
c
i
a
t
i
o
n
"
to obtain the association of measurement outcomes with their corresponding quantum state:
I
n
[
4
]
:
=
r
e
s
u
l
t
[
"
S
t
a
t
e
s
A
s
s
o
c
i
a
t
i
o
n
"
]
O
u
t
[
4
]
=
ψ
z
-
Q
u
a
n
t
u
m
S
t
a
t
e
S
t
a
t
e
T
y
p
e
:
V
e
c
t
o
r
Q
u
d
i
t
s
:
1
T
y
p
e
:
P
u
r
e
D
i
m
e
n
s
i
o
n
:
2
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
,
ψ
z
+
Q
u
a
n
t
u
m
S
t
a
t
e
S
t
a
t
e
T
y
p
e
:
V
e
c
t
o
r
Q
u
d
i
t
s
:
1
T
y
p
e
:
P
u
r
e
D
i
m
e
n
s
i
o
n
:
2
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
S
c
o
p
e
(
1
)
G
e
n
e
r
a
l
i
z
a
t
i
o
n
s
&
E
x
t
e
n
s
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