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
Quantum Computation
Symbols
QuantumBasis
QuantumChannel
QuantumCircuitMultiwayGraph[EXPERIMENTAL]
QuantumCircuitOperator
QuantumDistance
QuantumEntangledQ
QuantumEntanglementMonotone
QuantumEvolve
QuantumMeasurement
QuantumMeasurementOperator
QuantumMeasurementSimulation
QuantumOperator
QuantumPartialTrace
QuantumStateEstimate[EXPERIMENTAL]
QuantumState
QuantumTensorProduct
QuditBasis
QuditName
Wolfram`QuantumFramework`
Q
u
a
n
t
u
m
P
a
r
t
i
a
l
T
r
a
c
e
Q
u
a
n
t
u
m
P
a
r
t
i
a
l
T
r
a
c
e
[
q
s
,
s
]
g
i
v
e
s
t
h
e
q
u
a
n
t
u
m
d
i
s
c
r
e
t
e
s
t
a
t
e
q
s
w
i
t
h
q
u
b
i
t
s
a
t
i
n
d
i
c
e
s
i
n
l
i
s
t
s
t
r
a
c
e
d
o
u
t
.
Q
u
a
n
t
u
m
P
a
r
t
i
a
l
T
r
a
c
e
[
q
b
,
s
]
g
i
v
e
s
t
h
e
q
u
a
n
t
u
m
b
a
s
i
s
q
b
,
w
i
t
h
t
h
e
b
a
s
e
s
a
t
i
n
d
i
c
e
s
i
n
l
i
s
t
s
t
r
a
c
e
d
o
u
t
.
D
e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