Operators
QBase.Operator — Typeabstract type Operator{T<:Number} <: AbstractMatrix{Number} endA matrix representing a linear operator that acts upon a complex-valued Hilbert space. The Operator is an abstract type that parents all linear operator in quantum mechanics. These matrix types can represent quantum states, evolution, and measurements, each with their individual constraint. These constraints are place upon the children of th Operator abstract type.
Operator Algebra
Base.:* — MethodOperator Multiplication:
*(operators :: Vararg{Operator}) :: MatrixBase.:* — MethodOperator types can multiply Bra and Ket types.
$O|\psi\rangle = | \psi' \rangle$:
*(O :: Operator, ket :: Ket) :: Vector$\langle \psi |O = \langle \psi'|$:
*(bra :: Bra, O :: Operator) :: Adjoint{T, Vector{T}} where T <: NumberInner product, $\langle \psi |O|\sigma\rangle = \langle \psi|\sigma'\rangle$:
*(bra :: Bra, O :: Operator, ket :: Ket) :: NumberBase.kron — MethodKronecker Product:
kron(operators :: Vararg{Operator}) :: MatrixLinearAlgebra.rank — MethodMatrix Rank:
rank(O :: Operator) :: Int64Base.sqrt — MethodMatrix Square Root:
sqrt(O :: Operator) :: Matrix