Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
QuantumOperator |
|
| | ||||
|
| | ||||
| | |||||
"Basis" | gives the basis of the operator | |
"BasisElements" | gives a list of basis for each matrix element of the operator's matrix representation | |
"MatrixRepresentation"or"Matrix" | gives the matrix representation of the operator | |
"OrderedMatrixRepresentation" | gives the matrix representation of the operator adjusted according to its order | |
"Arity" | gives the arity of the operator | |
"Dimensions" | gives the dimensionality of the operator | |
"HermitianQ" | ||
"UnitaryQ" | ||
"Order" | returns the order | |
"State" | returns the state (a pure map) corresponding to the vector obainted by flattening of the operator matrix | |
"MatrixQuantumState" | returns a quantum state using the matrix of the operator | |
"Dagger" | returns complex conjugate of the operator | |
"CircuitDiagram" | represents the corresponding circuit diagram | |
"ZYZ" | for a 1-qubit unitary operator, it returns a global phase multiplied by corresponding ZYZ-decomposition ( R Z R Y R Z |
"Identity"or"I" | identity operator in 2D | |
"Identity"[n]or"I"[n] | identity operator in n dimension | |
"Diagonal"[{ eigen 1 eigen 2 | identity operator with elements eigen i | |
"Phase"[θ]or"P"[θ]or"U1"[θ] | a phase operator (in 2D) by an angle θ {1,0},0, θ | |
"Phase"[θ,n] | a phase operator with the angle θ in the n-dimension | |
"U3"[θ,ϕ,λ]or"U"[θ,ϕ,λ] | ||
"U2"[ϕ,λ] | U2 gate, which is the same as "U3"[π/2,ϕ,λ] | |
"GlobalPhase"[θ] | a global phase operator by an angle θ | |
"GlobalPhase"[θ,n] | a global phase operator by an angle θ | |
"RX"[θ]or"XRotation"[θ] | represents a rotation by an angle θ | |
"RY"[θ]or"YRotation"[θ] | represents a rotation by an angle θ | |
"RZ"[θ]or"ZRotation"[θ] | represents a rotation by an angle θ | |
"R"[θ,op] | represents a rotation by an angle θ op θ/2 | |
"PhaseShift"[n] | a phase operator an angle 2π/ n 2 | |
"S" | the S-gate (π/2 PHASE) | |
"T" | the T-gate (π/4 PHASE) | |
"H"or"Hadamard" | the Hadamard gate | |
"NOT" | the NOT operator | |
"RootNOT" | the root NOT operator | |
"Braid" | the Braid operator (Bell basis change operator) | |
"CNOT" | the CNOT gate | |
"CNOT"[n] | the CNOT gate with dimensionality n | |
"CX" | the controlled-X operator | |
"CT" | the controlled-T operator | |
"CS" | the controlled-S operator | |
"CH" | the controlled-H operator | |
"CPHASE"[θ]or"CP"[θ] | the controlled-Phase operator by an angle θ | |
"CPHASE"[θ,n] | the controlled-phase operator in the dimension n | |
"C"[op,cntl1,cntl0]or"Controlled"[op,cntl1,cntl0] | the controlled-U with the operator op, controlled1-qubits cntl1, and controlled0-qubits cntl0 | |
"C0"[op,cntl0]or"Controlled0"[op,cntl0] | the controlled-U with the operator op, and controlled0-qubits cntl0 | |
"Fourier" | the quantum Fourier Transform operator for one qubit | |
"Fourier"[n] | the quantum Fourier Transform operator for one qudit of the dimension n | |
"JX"[j]or"JY"[j]or"JZ"[j] | the angular-momentum operator (along X, Y or Z directions), corresponding to spin j | |
"J+"[j] | the raising operator corresponding to spin j | |
"J-"[j] | the lowering operator corresponding to spin j | |
"WignerD"[j,{ψ,θ,ϕ}] | the Wigner D-operator, corresponding to spin j | |
"SUM" | the SUM operator | |
"SUM"[n] | the SUM operator with dimensionality n | |
"X"or"PauliX" | the PauliX operator | |
"X"[n]or"PauliX"[n] | the PauliX operator with dimensionality n | |
"Y"or"PauliY" | the PauliY operator | |
"Y"[n]or"PauliY"[n] | the PauliX operator with dimensionality n | |
"Z"or"PauliZ" | the PauliZ operator | |
"Z"[n]or"PauliZ"[n] | the PauliZ operator with dimensionality n | |
"Toffoli" | the Toffoli operator | |
"SWAP" | the SWAP operator | |
"RootSWAP" | the root SWAP operator | |
"CSWAP"or"Fredkin" | the controlled-SWAP operator | |
"Deutsch"[θ] | the Deutsch gate with angle θ | |
"RandomUnitary" | a random unitary operator from uniform distribution over the unitary square matrices (also known as the Haar measure on the unitary group U(n) | |
"RandomUnitary"[n] | a random unitary operator with dimensionality n | |
"RandomHermitian"[n] | a random Hermitian operator with dimensionality n | |
"RootNOT" | the root-NOT operator | |
"Switch"[ op 1 op 2 | the quantum switch (superimposed quantum operations) of two operators op1 and op2 | |
"Permutation"[dims,cycles] | the permulation operator, for the list of dimensions dims cycles | |
"BlockDiagonal"[ op 1 op 2 | an operator corresponding a block-diagonal matrix with diagonal blocks op 1 op 2 | |
"Multiplexer"[ op 1 op 2 | the quantum Multiplexer operator, made out of op 1 op 2 | |
"Curry"[basis]or"Curry"[bases] | curry an operator that takes a high dimensional input to an operator that takes multiple inputs ( f(a⊗b)f'(a,b) | |
"Uncurry"[basis]or"Uncurry"[bases] | uncurry an operator that takes multiple inputs to an operator with a single higher dimensional input ( f(a,b)f'(a⊗b) | |
"Cup"[d] | an identity with no inputs | |
"Cap"[d] | an identity with no outputs | |
"Spider"[basis,angles]->inputs->outputs | a spider, given a quantum basis | |
"Copy"[basis] | a spider with a single input leg and two output legs in a given basis | |
"Decohere"[basis] | a spider with a single output leg and two input legs in a given basis | |
"Encode"[basis] | a curried copy spider | |
"Measure"[basis] | a uncurried decohere spider | |
"Discard"[basis] | a spider with no output legs and input legs in a given basis | |
"Marginal"[basis] | an operator corresponding to the action of 〈 b 1 b 2 | |
"Trace"[d] | an operator corresponding to a partial trace of a d | |
"Liouvillian"[H,{ L 1 L 2 γ 1 γ 2 | Liouvillian operator ℒ in the master equation dρ/dt=ℒ[ρ] with ℒ[ρ]=-[H,ρ]+ ∑ j γ j L j † L j 1 2 L j † L j | |
"Hamiltonian"[H,{ L 1 L 2 γ 1 γ 2 | Hamiltonian operator in the master equation dρ/dt=-ℋ[ρ] ℋ=ℒ | |
"Right"[op] | turns op | |
"Left"[op] | turns op |
QuantumOperator |
|
QuantumOperator |
|