qiskit-tutorials icon indicating copy to clipboard operation
qiskit-tutorials copied to clipboard

Clearing up a repetition code (noise) tutorial example

Open clausia opened this issue 3 years ago • 2 comments

Summary

In noise/6_repetition_code.ipynb tutorial.

According to this qiskit/qiskit#1025 issue explained by @Phionx, example 3 of the section "Running a repetition code" should change to 1 0 0000 0001 0000 instead of 0 1 0000 0001 0000 in order to be consistent, and thus correspond to a single qubit code that is flipped at the end of the line before the second round of syndrome measurements.

Details and comments

Only the content of the related cell has been modified.

More details in https://github.com/Qiskit/qiskit/issues/1025

clausia avatar Jul 13 '21 21:07 clausia

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

In order to keep consistency with Qiskit notebook, now the example 3 is updated (it is actually one of the options proposed by @phionx)

textbook page: https://qiskit.org/textbook/ch-quantum-hardware/error-correction-repetition-code.html

textbook notebook: https://github.com/qiskit-community/qiskit-textbook/blob/main/content/ch-quantum-hardware/error-correction-repetition-code.ipynb

clausia avatar Jul 13 '21 22:07 clausia

This tutorial has been removed since you contributed. Sorry for the long delay in review.

HuangJunye avatar Jan 25 '23 16:01 HuangJunye