The Language-Integrated Quantum Operations (LIQUi|>) Simulator
QECCDecode 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.*)

F#
abstract 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, Int32A 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.
