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

use zip #37

Merged
merged 1 commit into from
Oct 10, 2024
Merged

use zip #37

merged 1 commit into from
Oct 10, 2024

Conversation

kevinsung
Copy link
Collaborator

No description provided.

@@ -595,13 +595,12 @@ def _construct_ci_vec_from_addresses_amplitudes(

addr_map = {uni_addr: i for i, uni_addr in enumerate(uniques)}

for idx, address in enumerate(addresses):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm surprised the linter didn't complain about the unused idx variable here

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops, I see it below now :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was used, in line 604.

Copy link
Collaborator

@caleb-johnson caleb-johnson left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

@kevinsung kevinsung merged commit eaeab61 into Qiskit:main Oct 10, 2024
5 checks passed
@kevinsung kevinsung deleted the zip branch October 10, 2024 14:25
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