Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Fixes_composing_problem_issue #1563

Merged
merged 1 commit into from Apr 5, 2023
Merged

Conversation

divshacker
Copy link
Collaborator

@divshacker divshacker commented Apr 1, 2023

fixes #1562

Changes made

The problem which is reported is due to depreciation due to removal of extend method.

Justification

Found this in release notes

The QuantumCircuit methods combine and extend have been removed following their deprecation in Qiskit Terra 0.17.0. This was done because these functions were simply less powerful versions of QuantumCircuit.compose(), which should be used instead.

The removal of extend also means that the + and += operators are no longer defined for QuantumCircuit. Instead, you can use the & and &= operators respectively, which use QuantumCircuit.compose().

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Collaborator

@frankharkins frankharkins left a comment

Choose a reason for hiding this comment

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

Thanks

@frankharkins frankharkins mentioned this pull request Apr 5, 2023
frankharkins added a commit that referenced this pull request Apr 5, 2023
@frankharkins frankharkins merged commit 13ae2c0 into qiskit-community:main Apr 5, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants