Description Usage Arguments Value Examples
View source: R/SteaneCorrect.R
Performs Steane error correction on an encoded qubit. Useful explanation provided by Devitt <DOI:10.1088/0034-4885/76/7/076001>
1 |
v |
Steane encoded qubit ket |
Steane encoded ket after error correction has been performed
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.