Skip to content

feature: updates to error mitigation examples#814

Merged
sesmart merged 77 commits intoamazon-braket:feature/err_mitfrom
sesmart:dev/mitiq-em
Feb 10, 2026
Merged

feature: updates to error mitigation examples#814
sesmart merged 77 commits intoamazon-braket:feature/err_mitfrom
sesmart:dev/mitiq-em

Conversation

@sesmart
Copy link
Contributor

@sesmart sesmart commented Jan 9, 2026

Issue #, if available:

Description of changes:

Added new error mitigation examples.

  • added error_mitigation folder
  • added examples for common error mitigation workflows using mitiq
  • mitiq added with separate folders
  • added separate test-mitiq hatch enviroment
  • updated readme

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yitchen-tim
Copy link
Contributor

yitchen-tim commented Jan 14, 2026

Overall I think the license-handling solution is good. The rest is how to consistently practice this. As a step to inform developers, we could add

  • Add testing and contribution guide to NOTICE.md that you already have. Can be just few sentence summary.
  • Import NOTICE.md in top level README, CONTRIBUTING, TESTING to display in them.

"S603", # `subprocess` call: check for execution of untrusted input
]

[tool.hatch.envs.test-mitiq]
Copy link
Contributor

Choose a reason for hiding this comment

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

This could just be a mitiq env. Also moving the pip install -r extra/requirements-mitiq.txt as a post-install-command may be cleaner if someone wants to access the env

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After discussion, maintain testing for mitiq as it is solely for testing. But expanded test to incorporate requirements extra with requirements, and also updated dependabot.

Copy link

@natestemen natestemen left a comment

Choose a reason for hiding this comment

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

Hope you don't mind me jumping in here, but I saw a few things I wanted to note. Overall I think this set of notebooks are really amazing and will do a lot to help people use QEM on braket (and hopefully using mitiq too 😏).

Choose a reason for hiding this comment

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

Is there a next notebook? I thought this was the last.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Clarified this - there is another one in the supplemental area, that implements a pipeline on Ankaa-3.

Choose a reason for hiding this comment

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

Missing third reason!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually found 4! :) Thanks for catching this.

Choose a reason for hiding this comment

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

I've struggled with this same "wrap up" before while writing tutorials for mitiq since it's not always the case that individual techniques provide and improvement or the combination is necessarily the best on a simple noise model. I do think it's worth making a note about it here, though. Maybe what you say below is enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The results here were actually wrong it turns out 😭 - missing the proper REM correction, which now should be fixed. Added some text here as well.

sesmart and others added 11 commits January 26, 2026 22:01
…q_on_Braket.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…q_on_Braket.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…q_on_Braket.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…q_on_Braket.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…_with_mitiq.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…q_on_Braket.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
…_with_mitiq.ipynb

Co-authored-by: nate stemen <nate@stemen.email>
@sesmart sesmart merged commit 431397f into amazon-braket:feature/err_mit Feb 10, 2026
5 of 10 checks passed
sesmart added a commit that referenced this pull request Feb 11, 2026
Co-authored-by: nate stemen <nate@stemen.email>
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

Comments