Skip to content

Error correction with stabilizer codes - #1365

Merged
Alan-eMartin merged 73 commits into
masterfrom
stabilizer_codes
Aug 20, 2025
Merged

Error correction with stabilizer codes#1365
Alan-eMartin merged 73 commits into
masterfrom
stabilizer_codes

Conversation

@ghost

@ghost ghost commented May 7, 2025

Copy link
Copy Markdown

Before submitting

Please complete the following checklist when submitting a PR:

  • Ensure that your tutorial executes correctly, and conforms to the
    guidelines specified in the README.

  • Remember to do a grammar check of the content you include.

  • All tutorials conform to
    PEP8 standards.
    To auto format files, simply pip install black, and then
    run black -l 100 path/to/file.py.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Title:

Summary:

Relevant references:

Possible Drawbacks:

Related GitHub Issues:


If you are writing a demonstration, please answer these questions to facilitate the marketing process.

  • GOALS — Why are we working on this now?

    Eg. Promote a new PL feature or show a PL implementation of a recent paper.

  • AUDIENCE — Who is this for?

    Eg. Chemistry researchers, PL educators, beginners in quantum computing.

  • KEYWORDS — What words should be included in the marketing post?

  • Which of the following types of documentation is most similar to your file?
    (more details here)

  • Tutorial
  • Demo
  • How-to

@github-actions

github-actions Bot commented May 7, 2025

Copy link
Copy Markdown

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

@github-actions

github-actions Bot commented May 7, 2025

Copy link
Copy Markdown

Your preview is ready 🎉!

You can view your changes here

Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
alvarballon and others added 5 commits August 12, 2025 12:09
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Justin Pickering <79890410+justinpickering@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>

@daniela-angulo daniela-angulo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor things with typos and a rendering issue related to indentation and math.

Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment on lines +433 to +435
# 2. They are not in the stabilizer group,
# 3. Logical operators corresponding to the same logical qubit (e.g., $\bar{X}_1$ and $\bar{Z}_1$) \emph{anticommute},
# meaning they act non-trivially on the codewords.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't render properly. Both with respect to alignment (indentation) and it is missing the 'math' part.

Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Comment thread demonstrations_v2/tutorial_stabilizer_codes/demo.py Outdated
Alvaro Ballon and others added 10 commits August 18, 2025 16:52
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
Co-authored-by: Daniela Angulo <42325731+daniela-angulo@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

⚠️ Deprecation Warning ⚠️

You are modifying files in the demonstrations/ directory. This directory is no longer in use.

Please add or move your files to demonstrations_v2/, and use the following format:

your_demo_name/
    - demo.py
    - metadata.json
    - requirements.in (optional)

For additional information, please refer to the contributing guidelines

@Alan-eMartin
Alan-eMartin merged commit 83322e8 into master Aug 20, 2025
12 checks passed
@Alan-eMartin
Alan-eMartin deleted the stabilizer_codes branch August 20, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants