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
Example Repository Functions
Exploring Fundamentals of Quantum Theory
Quantum object abstraction
Tensor Network
Symbols
QuantumBasis
QuantumChannel
QuantumCircuitMultiwayGraph [EXPERIMENTAL]
QuantumCircuitOperator
QuantumDistance
QuantumEntangledQ
QuantumEntanglementMonotone
QuantumEvolve
QuantumMeasurement
QuantumMeasurementOperator
QuantumMeasurementSimulation
QuantumMPS [EXPERIMENTAL]
QuantumOperator
QuantumPartialTrace
QuantumShortcut [EXPERIMENTAL]
QuantumStateEstimate [EXPERIMENTAL]
QuantumState
QuantumTensorProduct
QuantumWignerMICTransform [EXPERIMENTAL]
QuantumWignerTransform [EXPERIMENTAL]
QuditBasis
QuditName
Wolfram`QuantumFramework`
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
r
e
p
,
o
r
d
e
r
,
q
b
]
r
e
p
r
e
s
e
n
t
s
a
n
o
p
e
r
a
t
o
r
w
i
t
h
m
a
t
r
i
x
/
t
e
n
s
o
r
r
e
p
r
e
s
e
n
t
a
t
i
o
n
r
e
p
t
h
a
t
a
c
t
s
o
n
a
s
t
a
t
e
a
t
t
h
e
q
u
b
i
t
s
i
n
d
e
x
e
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i
t
y
:
1
D
i
m
e
n
s
i
o
n
:
4
→
4
Q
u
d
i
t
s
:
1
→
1
I
n
[
2
]
:
=
j
z
[
"
F
o
r
m
u
l
a
"
]
O
u
t
[
2
]
=
3
2
|
0
〉
〈
0
|
+
1
2
|
1
〉
〈
1
|
-
1
2
|
2
〉
〈
2
|
-
3
2
|
3
〉
〈
3
|
Create a generalized Pauli X in the 3 dimension:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
"
X
"
[
3
]
]
O
u
t
[
1
]
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
A
r
i
t
y
:
1
D
i
m
e
n
s
i
o
n
:
3
→
3
Q
u
d
i
t
s
:
1
→
1
Create a CNOT gate, with qubit-3 as the control and qubit-4 as the target:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
"
C
N
O
T
"
,
{
3
,
4
}
]
O
u
t
[
1
]
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
P
i
c
t
u
r
e
:
S
c
h
r
ö
d
i
n
g
e
r
A
r
i
t
y
:
2
D
i
m
e
n
s
i
o
n
:
4
→
4
Q
u
d
i
t
s
:
2
→
2
Controlled operators, for example acting "X" on target qubits, with many controlled-0 and 1 qubits:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
{
"
C
"
,
"
X
"
{
1
,
3
}
,
{
2
}
,
{
4
,
5
}
}
]
[
"
C
i
r
c
u
i
t
D
i
a
g
r
a
m
"
]
O
u
t
[
1
]
=
Create a quantum Multiplexer:
I
n
[
1
]
:
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
{
"
M
u
l
t
i
p
l
e
x
e
r
"
,
"
Z
"
,
"
H
"
,
"
X
"
}
]
O
u
t
[
1
]
=
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
P
i
c
t
u
r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