Ket.ProbOdd Method

Liquid Quantum Simulator

KetProbOdd Method
Get the probability of measuring odd parity for a set of qubits

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
member ProbOdd : 
        qs : FSharpList<Qubit> * 
        basis : FSharpOption<string> -> float 

Parameters

qs
Type: Microsoft.FSharp.CollectionsFSharpListQubit
Qubits to fake measure
basis
Type: Microsoft.FSharp.CoreFSharpOptionString
String of basis to use for each qubit (optional="Z")

Return Value

Type: Double
Probability of odd parity
See Also