Learn R Programming

QuantumOps (version 3.0.1)

SteaneCorrect: 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

Run this code
# NOT RUN {
 
# }
# 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))))
 
# }

Run the code above in your browser using DataLab