Click or drag to resize
Steane7 Class
Implementation of a Steane 7-bit quantum error correcting code, [[7,1,3]], based on the QECC class.
Inheritance Hierarchy

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
type Steane7 =  
        inherit QECC

The Steane7 type exposes the following members.

Public methodSteane7
Constructs a Steane code implementation for a circuit.
Public propertyCircuit
The error-correcting circuit built by Compile. The circuit will be built now if it hasn't already been.
(Inherited from QECC.)
Public propertyKet
The state vector for the compiled code.
(Inherited from QECC.)
Public propertyNumFixed
The number of syndrome fixups performed.
Public methodCompile
Compiles the target circuit into an error-correcting version.
(Inherited from QECC.)
Public methodDecode
Decodes a set of measured physical qubits to get the measured value for a logical qubit.
(Overrides QECCDecode(FSharpListQubit).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMeasured
Gets the measured values of the physical qubits that make up a logical qubit and returns them combined into a single integer, one bit per qubit.
(Inherited from QECC.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInject
Injects dephasing errors with the given probability into the error-correcting circuit.
(Inherited from QECC.)
Public methodLog2Phys
Gets the physical qubits that make up a logical qubit.
(Inherited from QECC.)
Public methodPrep
A gate function that prepares a logical |0> qubit. This gets compiled into the error-correcting circuit by the Compile method.
(Overrides QECCPrep(FSharpListQubit).)
Public methodReplace
Gets a replacement physical gate for an input logical gate. The replacement may wrap a full Circuit.
(Inherited from QECC.)
Public methodSyndrome
A gate function that measures the physical qubits for a single logical qubit and applies any necessary corrections. This gets compiled into the error-correcting circuit by the Compile method.
(Overrides QECCSyndrome(FSharpListQubit).)
Public methodStatic memberTest1
Tests the Steane7 QECC on a single logical qubit with forced X, Y, and Z error injections.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
This code uses 7 physical qubits per logical qubit. It also requires 6 ancillae.
See Also