Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

QuantumFramework

Tutorials

  • Getting Started

Guides

  • Wolfram Quantum Computation Framework

Tech Notes

  • Exploring Fundamentals of Quantum Theory
  • Quantum Computation

Symbols

  • QuantumBasis
  • QuantumChannel
  • QuantumCircuitOperator
  • QuantumDistance
  • QuantumEntangledQ
  • QuantumEntanglementMonotone
  • QuantumMeasurement
  • QuantumMeasurementOperator
  • QuantumOperator
  • QuantumPartialTrace
  • QuantumState
  • QuantumTensorProduct
  • QuditBasis
  • QuditName
Wolfram`QuantumFramework`
QuantumOperator
​
QuantumOperator
[rep,order,qb]
represents an operator with matrix representation
rep
that acts on a state at the qubits indexed in
order
, in the discrete quantum basis
qb
.
​
​
QuantumOperator
[operator,order,qb]
represents an association
operator
that acts on a state at the qubits indexed in
order
, in the discrete quantum basis
qb
.
​
​
QuantumOperator
["name",order,qb]
represents the named operator
"name"
that acts on a state at the qubits indexed in
order
, in the discrete quantum basis
qb
.
​
​
QuantumOperator
[qo,basis]
changes the basis of the
QuantumOperator
qo
to the discrete quantum basis
qb
.
​
Details and Options

Examples  
(12)
Basic Examples  
(3)
Construct a quantum discrete operator given by a matrix of components in a given basis:
In[1]:=
QuantumOperator
{{1,-1},{1,1}},{1},
QuantumBasis
["PauliX"]
Out[1]=
QuantumOperator
Picture: Schrödinger
Arity: 1
Dimension: 2→2
Qudits: 1→1

​
Create a CNOT gate:
In[1]:=
QuantumOperator
["CNOT",{1,2}]
Out[1]=
QuantumOperator
Picture: Schrödinger
Arity: 2
Dimension: 4→4
Qudits: 2→2

​
Define a quantum discrete operator using tensor products of kets:
In[1]:=
QuantumOperator
[CircleTimes[Ket[0],Ket[0]]1,CircleTimes[Ket[0],Ket[1]]0,CircleTimes[Ket[1],Ket[0]]0,CircleTimes[Ket[1],Ket[1]]1,{1}]
Out[1]=
QuantumOperator
Picture: Schrödinger
Arity: 1
Dimension: 2→2
Qudits: 1→1

Scope  
(3)

Applications  
(2)

Properties & Relations  
(4)

SeeAlso
QuantumState
 
▪
QuantumBasis
 
▪
QuantumMeasurementOperator
RelatedGuides
▪
Wolfram Quantum Computation Framework
""

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us