Recover operation

Namespace: Microsoft.Quantum.ErrorCorrection

Package: Microsoft.Quantum.Standard

Performs a single round of error correction by a quantum code described by a QECC type.

operation Recover (code : Microsoft.Quantum.ErrorCorrection.QECC, fn : Microsoft.Quantum.ErrorCorrection.RecoveryFn, logicalRegister : Microsoft.Quantum.ErrorCorrection.LogicalRegister) : Unit

Input

code : QECC

A quantum error-correcting code packaged as a QECC type describes the encoding and decoding of quantum data, and how error syndromes are to be measured.

fn : RecoveryFn

A RecoveryFn that maps each error syndrome to the Pauli[] operations that correct the detected error.

logicalRegister : LogicalRegister

An array of qubits where the stabilizer code is defined.

Output : Unit

See Also