Skip to content

Fix QuantumCircuit.assign_parameters docstring#6546

Merged
mergify[bot] merged 9 commits into
Qiskit:mainfrom
Cryoris:fix-assignparameters-docstring
Jul 7, 2021
Merged

Fix QuantumCircuit.assign_parameters docstring#6546
mergify[bot] merged 9 commits into
Qiskit:mainfrom
Cryoris:fix-assignparameters-docstring

Conversation

@Cryoris
Copy link
Copy Markdown
Collaborator

@Cryoris Cryoris commented Jun 9, 2021

Summary

Fix the docstring of QuantumCircuit.assign_parameters (fixes #6533) and remove the deprecated arguments in assign and bind paramters as they have been deprecated > 3months ago in #5759.

Cryoris added 2 commits June 9, 2021 16:17
and remove the deprecated arguments, as they have been deprecated > 3months ago
@Cryoris Cryoris requested a review from a team as a code owner June 9, 2021 14:20
@Cryoris Cryoris added Changelog: Fixed Add a "Fixed" entry in the GitHub Release changelog. Changelog: Removed Add a "Removed" entry in the GitHub Release changelog. labels Jun 9, 2021
Copy link
Copy Markdown
Member

@kdk kdk left a comment

Choose a reason for hiding this comment

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

Changes look good. Removal should wait until 7/1 since #5759 was released in 0.17 on 4/1.

@kdk kdk added the on hold Can not fix yet label Jun 11, 2021
@kdk kdk added automerge and removed on hold Can not fix yet labels Jul 6, 2021
@mergify mergify Bot merged commit 09f9c10 into Qiskit:main Jul 7, 2021
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Jul 7, 2021
…)"

This PR included a deprecation removal which was invalid as not enough
time has passed. The deprecation occured in 0.17.0 which is not eligible
for removal until the 0.19.0 release. This PR can be repropoposed after
0.18.0 is released and quickly merged into 0.19.0.

This reverts commit 09f9c10.
@mtreinish mtreinish added Changelog: None Do not include in the GitHub Release changelog. and removed Changelog: Fixed Add a "Fixed" entry in the GitHub Release changelog. Changelog: Removed Add a "Removed" entry in the GitHub Release changelog. labels Jul 7, 2021
mergify Bot added a commit that referenced this pull request Jul 8, 2021
…6696)

This PR included a deprecation removal which was invalid as not enough
time has passed. The deprecation occured in 0.17.0 which is not eligible
for removal until the 0.19.0 release. This PR can be repropoposed after
0.18.0 is released and quickly merged into 0.19.0.

This reverts commit 09f9c10.

Co-authored-by: Kevin Krsulich <kevin.krsulich@ibm.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Jul 12, 2021
Right before the 0.18.0 release we reverted Qiskit#6546 because it was a bit
too quick to complete a deprecation. Now that 0.18.0 has been released
we can now remove the deprecated functionality and this commit reverts
PR Qiskit#6696 which just re-applies Qiskit#6546.

This reverts commit 1104041.
mergify Bot added a commit that referenced this pull request Jul 13, 2021
* Fix ``QuantumCircuit.assign_parameters`` docstring

Right before the 0.18.0 release we reverted #6546 because it was a bit
too quick to complete a deprecation. Now that 0.18.0 has been released
we can now remove the deprecated functionality and this commit reverts
PR #6696 which just re-applies #6546.

This reverts commit 1104041.

* Update releasenotes/notes/remove-deprecated-assign-parameters-args-9712d7d01e82c390.yaml

Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for QuantumCircuit.assign_parameters seems to be wrong

3 participants