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] Azure model and new AlgorithmSummary #1157

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

mpharrigan
Copy link
Collaborator

This PR builds on #1154 and migrates the azure model to use GateCounts via a new AlgorithmSummary that uses GateCounts.

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%nits

qualtran/surface_code/azure_cost_model.py Outdated Show resolved Hide resolved
)
if M['R'] > 0:
# NOTE! argument to the rotation_cost method is inverted relative to eq. D3.
rotation_cost = rotation_model.rotation_cost(eps_syn / M['R'])
Copy link
Contributor

Choose a reason for hiding this comment

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

this should also include calling rotation_model.preparation_overhead to allow users to use other rotation models

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was porting the existing code. What should the expression be?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just added the prep cost, ptal

@mpharrigan mpharrigan force-pushed the 2024-07/physicost-azure branch from c778339 to c9ff4d3 Compare July 23, 2024 22:38
@mpharrigan
Copy link
Collaborator Author

@NoureldinYosri ptal

@mpharrigan mpharrigan enabled auto-merge (squash) July 24, 2024 18:16
@mpharrigan mpharrigan merged commit 149fe23 into quantumlib:main Jul 24, 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