SteaneCorrect: SteaneCorrect

Description Usage Arguments Value Examples

View source: R/SteaneCorrect.R

Description

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

Usage

1

Arguments

v

Steane encoded qubit ket

Value

Steane encoded ket after error correction has been performed

Examples

1
2
3
4
5
6
7
 ## 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)

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.