SteaneCorrect {QuantumOps}R Documentation

SteaneCorrect

Description

Performs Steane error correction on an encoded qubit. Useful explanation provided by Devitt <DOI:10.1088/0034-4885/76/7/076001>

Usage

SteaneCorrect(v)

Arguments

v

Steane encoded qubit ket

Value

Steane encoded ket after error correction has been performed

Examples

 ## Not run: 
 SteaneCorrect(Steane(ket(1,0)))
 SteaneCorrect(Steane(ket(0,1)))
 SteaneCorrect(Steane(ket(1,1)))
 SteaneCorrect(single(X(),n=7,t=2,Steane(ket(1,0))))
 
## End(Not run)

[Package QuantumOps version 3.0.1 Index]