[{"name":"Quantum","comment":" Quantum Computing Simulator in Elm\n\n\n# Types\n\n@docs Ket\n@docs Bra\n\n\n# Values\n\n@docs ket0\n@docs ket1\n@docs ketPlus\n@docs ketMinus\n@docs ketComplex0\n@docs ketComplex1\n@docs ketComplexPlus\n@docs ketComplexMinus\n\n\n# Unitary Operations\n\n@docs scalarMultiplication\n\n\n# Binary Operations\n\n@docs add\n\n\n# Quantum Operators\n\n@docs h\n@docs x\n@docs probabilityOfState\n\n","unions":[{"name":"Bra","comment":" Bra Type\n","args":["a"],"cases":[["Bra",["Matrix.Matrix a"]]]},{"name":"Ket","comment":" Ket Type\n","args":["a"],"cases":[["Ket",["Vector.Vector a"]]]}],"aliases":[],"values":[{"name":"add","comment":" Add two Kets\n","type":"Field.Field a -> Quantum.Ket a -> Quantum.Ket a -> Quantum.Ket a"},{"name":"h","comment":" Hadamard Operation\n","type":"Matrix.Matrix Basics.Float"},{"name":"ket0","comment":" Ket representing zero state\n","type":"Quantum.Ket Basics.Float"},{"name":"ket1","comment":" Ket representing one state\n","type":"Quantum.Ket Basics.Float"},{"name":"ketComplex0","comment":" Ket representing zero state with complex numbers\n","type":"Quantum.Ket (ComplexNumbers.ComplexNumber Basics.Float)"},{"name":"ketComplex1","comment":" Ket representing one state with complex numbers\n","type":"Quantum.Ket (ComplexNumbers.ComplexNumber Basics.Float)"},{"name":"ketComplexMinus","comment":" Ket representing + state with complex numbers\n","type":"Quantum.Ket (ComplexNumbers.ComplexNumber Basics.Float)"},{"name":"ketComplexPlus","comment":" Ket representing + state with complex numbers\n","type":"Quantum.Ket (ComplexNumbers.ComplexNumber Basics.Float)"},{"name":"ketMinus","comment":" Ket representing + state\n","type":"Quantum.Ket Basics.Float"},{"name":"ketPlus","comment":" Ket representing + state\n","type":"Quantum.Ket Basics.Float"},{"name":"probabilityOfState","comment":" Calculate the probability of end state, the Bra, with given start state, the Ket\n","type":"Vector.InnerProductSpace a -> Quantum.Bra a -> Quantum.Ket a -> Result.Result String.String a"},{"name":"scalarMultiplication","comment":" Multiply a Ket by a Scalar\n","type":"Field.Field a -> a -> Quantum.Ket a -> Quantum.Ket a"},{"name":"x","comment":" NOT Operation\n","type":"Matrix.Matrix Basics.Float"}],"binops":[]}]