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

Bug: Flatten QuantumArray in SB_arithmetic.py #43

Open
renezander90 opened this issue Apr 4, 2024 · 1 comment
Open

Bug: Flatten QuantumArray in SB_arithmetic.py #43

renezander90 opened this issue Apr 4, 2024 · 1 comment

Comments

@renezander90
Copy link
Contributor

Line 572-573 in SB_arithmetic.py:

 if isinstance(qf_list, QuantumArray):
        qf_list = list(qf_list.flatten().qv_array)

Should this be:

 if isinstance(qf_list, QuantumArray):
        qf_list = list(qf_list.flatten())

?

@positr0nium
Copy link
Contributor

Yes, feel free to push a fix :)

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

No branches or pull requests

2 participants