[{"name":"Quantum","comment":" Quantum Computing Simulator in Elm\n\n\n# Types\n\n\n# Unitary Operations\n\n@docs variance\n\n\n# Binary Operations\n\n@docs multiplyInvertableMatrixKet\n\n\n# Quantum Operators\n\n@docs h\n@docs hComplex\n@docs x\n@docs squareRootNot\n@docs sigmaXReal\n@docs sigmaX\n@docs sigmaY\n@docs sigmaZ\n@docs z\n@docs toffoli\n@docs fredkin\n@docs t\n@docs s\n@docs cNOT\n@docs and\n@docs probabilityOfState\n@docs multiplyHermitianMatrixKet\n@docs expectedValue\n@docs varianceHermitianOperator\n\n","unions":[],"aliases":[],"values":[{"name":"and","comment":" and Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"cNOT","comment":" controlled-NOT Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"expectedValue","comment":" Calculate the expected value when a Ket.Ket is multiplied by a Hermitian Matrix\n","type":"Ket.Ket (ComplexNumbers.ComplexNumber Basics.Float) -> HermitianMatrix.HermitianMatrix Basics.Float -> Result.Result String.String (Real.Real Basics.Float)"},{"name":"fredkin","comment":" Fredkin Operation\n","type":"InvertableMatrix.InvertableMatrix Basics.Float"},{"name":"h","comment":" Hadamard Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"hComplex","comment":" Hadamard Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"multiplyHermitianMatrixKet","comment":" Multiply a Vector by a Matrix\n","type":"HermitianMatrix.HermitianMatrix Basics.Float -> Ket.Ket (ComplexNumbers.ComplexNumber Basics.Float) -> Result.Result String.String (Ket.Ket (ComplexNumbers.ComplexNumber Basics.Float))"},{"name":"multiplyInvertableMatrixKet","comment":" Multiply a Vector by a Matrix\n","type":"RowVector.InnerProductSpace a -> InvertableMatrix.InvertableMatrix a -> Ket.Ket a -> Result.Result String.String (Ket.Ket a)"},{"name":"probabilityOfState","comment":" Calculate the probability of end state, the Bra.Bra, with given start state, the Ket.Ket\n","type":"RowVector.InnerProductSpace a -> Ket.Ket a -> Bra.Bra a -> Result.Result String.String a"},{"name":"s","comment":" s Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"sigmaX","comment":" SigmaX Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"sigmaXReal","comment":" SigmaX Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"sigmaY","comment":" SigmaX Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"sigmaZ","comment":" SigmaX Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"squareRootNot","comment":" square root of NOT Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"t","comment":" t Operation\n","type":"UnitaryMatrix.UnitaryMatrix Basics.Float"},{"name":"toffoli","comment":" Toffoli Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"variance","comment":" variance\n","type":"Ket.Ket (ComplexNumbers.ComplexNumber Basics.Float) -> HermitianMatrix.HermitianMatrix Basics.Float -> Result.Result String.String (Real.Real Basics.Float)"},{"name":"varianceHermitianOperator","comment":" varianceHermitianOperator\n","type":"Ket.Ket (ComplexNumbers.ComplexNumber Basics.Float) -> HermitianMatrix.HermitianMatrix Basics.Float -> Result.Result String.String (HermitianMatrix.HermitianMatrix Basics.Float)"},{"name":"x","comment":" NOT Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"},{"name":"z","comment":" z Operation\n","type":"InvertableMatrix.InvertableMatrix (Real.Real Basics.Float)"}],"binops":[]}]