Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[surface code] MagicStateFactory and GateCounts refactor #1154

Merged
merged 5 commits into from
Jul 23, 2024

Conversation

mpharrigan
Copy link
Collaborator

Upgrade the interface to MagicStateFactory to use GateCounts from the resource counting module and LogicalErrorModel. Based on #1141

Copy link
Contributor

@NoureldinYosri NoureldinYosri left a comment

Choose a reason for hiding this comment

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

LGTM with one comment

qec_scheme=qec.FowlerSuperconductingQubits, physical_error=phys_err
from qualtran.surface_code import FowlerSuperconductingQubits, LogicalErrorModel

err_model = LogicalErrorModel(qec_scheme=FowlerSuperconductingQubits, physical_error=phys_err)
Copy link
Contributor

Choose a reason for hiding this comment

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

so we can't use CCZ2T with another QEC?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This function is kept for backwards compatibility and is anchored to the ccz2t paper. Stay tuned!

@mpharrigan mpharrigan enabled auto-merge (squash) July 23, 2024 20:26
@mpharrigan mpharrigan merged commit 169d91d into quantumlib:main Jul 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants