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

Reinstate and deprecate loose measure and reset functions (backport #7376) #7380

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 8, 2021

This is an automatic backport of pull request #7376 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Previously, the `QuantumCircuit` methods `.measure` and `.reset` were
defined as regular functions in `circuit/measure.py` (m.m. `reset`) and
monkey-patched onto `QuantumCircuit`.  Commit 2cd42b4 removed the
monkey-patching by defining them as regular methods, but did not
implement a deprecation period for the functions.  This reinstates them,
with the deprecation warning.

(cherry picked from commit 89b324c)
@mergify mergify bot requested a review from a team as a code owner December 8, 2021 17:11
@mtreinish mtreinish added automerge Changelog: Bugfix Include in the "Fixed" section of the changelog labels Dec 8, 2021
@jakelishman jakelishman added this to the 0.19.1 milestone Dec 8, 2021
@mergify mergify bot merged commit a9b6093 into stable/0.19 Dec 8, 2021
@mergify mergify bot deleted the mergify/bp/stable/0.19/pr-7376 branch December 8, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants