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

[tests] Remove control_wires from MultiControlledX #1102

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

erick-xanadu
Copy link
Contributor

Context: UserWarning is being triggered in one of the tests:

The control_wires keyword for MultiControlledX is deprecated, and will be removed soon. Use wires = (*control_wires, target_
wire) instead.

Description of the Change: Implement changes suggested by the warning

No changelog because this is only for tests.

Copy link
Contributor

@dime10 dime10 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing all of these 👍

@erick-xanadu erick-xanadu merged commit 089a23e into main Sep 5, 2024
43 checks passed
@erick-xanadu erick-xanadu deleted the eochoa/2024-09-05/multicontrolled-x branch September 5, 2024 16:19
Copy link
Contributor

github-actions bot commented Sep 5, 2024

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

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