Skip to content

Fix add_defcal #18

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

Merged
merged 3 commits into from
Oct 27, 2022
Merged

Fix add_defcal #18

merged 3 commits into from
Oct 27, 2022

Conversation

jcjaskula-aws
Copy link
Collaborator

@jcjaskula-aws jcjaskula-aws commented Oct 27, 2022

Multi-qubit defcals were stored multiple times for each qubit. We now save the defcals in a dict where the keys are the tuple containing a tuple of qubits and the name of the gate: (("$i", "$j"), gate_name).

Fixes also a typo in a test.

Copy link
Collaborator

@PhilReinhold PhilReinhold left a comment

Choose a reason for hiding this comment

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

Looks good, and good catch.

Copy link
Collaborator

@PhilReinhold PhilReinhold left a comment

Choose a reason for hiding this comment

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

Great, looks good to me!

@PhilReinhold PhilReinhold merged commit e3d65b3 into main Oct 27, 2022
@karalekas karalekas deleted the jcjaskula-aws/fix_add_defcal branch November 23, 2022 00:33
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.

2 participants