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

apply_gate_raw: fix optional argument bug #226

Merged
merged 1 commit into from
Apr 14, 2024
Merged

apply_gate_raw: fix optional argument bug #226

merged 1 commit into from
Apr 14, 2024

Conversation

juliendrapeau
Copy link
Contributor

In the method apply_gate_raw of the class Circuit, the optional argument gate_round was input as a positional argument to the method from_raw. This resulted in a conflict with the positional argument control. Fixed by adding the parameter gate_round as a positional argument in from_raw.

@jcmgray
Copy link
Owner

jcmgray commented Apr 14, 2024

LGTM, thanks!

@jcmgray jcmgray merged commit f207c36 into jcmgray:main Apr 14, 2024
15 checks passed
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