Click or drag to resize
Steane7Decode Method
Decodes a set of measured physical qubits to get the measured value for a logical qubit.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
abstract Decode : 
        qs : FSharpList<Qubit> -> Tuple<Bit, int> 
override Decode : 
        qs : FSharpList<Qubit> -> Tuple<Bit, int> 

Parameters

qs
Type: Microsoft.FSharp.CollectionsFSharpListQubit
The physical qubits to decode. They must already have been measured.

Return Value

Type: TupleBit, Int32
A tuple containing the logical measured value of the logical qubit, either Zero or One, and the Hamming distance from the physical state to the code space.
See Also