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

Remove deprecated features in 0.45 in quantumcircuit #11577

Merged
merged 30 commits into from
Jan 24, 2024

Conversation

henryzou50
Copy link
Contributor

Summary

Remove features deprecated in 0.45 in qiskit/circuit/quantumcircuit.py

Details and comments

The list of featured removed are:

  • header
  • extension_lib
  • i
  • fredkin
  • cnot
  • toffoli
  • mct
  • diagonal
  • iso
  • hmailtonian
  • uc
  • ucrx
  • urcy
  • urcz
  • squ
  • snapshot

I also removed spy,py in qiskit/extensions/quantum_initializer, as its __init__ is deprecated and to use a single-qubit unitary, you can use qiskit.circuit.library.UnitaryGate instead.

@henryzou50 henryzou50 requested review from nonhermitian and a team as code owners January 17, 2024 05:45
@qiskit-bot
Copy link
Collaborator

One or more of the the following people are requested to review this:

  • @enavarro51
  • @Qiskit/terra-core
  • @mtreinish
  • @nkanazawa1989

@coveralls
Copy link

coveralls commented Jan 23, 2024

Pull Request Test Coverage Report for Build 7631410015

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 89.525%

Totals Coverage Status
Change from base Build 7631182120: -0.01%
Covered Lines: 59598
Relevant Lines: 66571

💛 - Coveralls

Copy link
Contributor

@Cryoris Cryoris left a comment

Choose a reason for hiding this comment

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

Two minor comments, otherwise LGTM!

test/python/circuit/test_squ.py Outdated Show resolved Hide resolved
test/benchmarks/isometry.py Show resolved Hide resolved
@mtreinish mtreinish added this to the 1.0.0 milestone Jan 23, 2024
@Cryoris Cryoris added the Changelog: Removal Include in the Removed section of the changelog label Jan 24, 2024
@Cryoris Cryoris added this pull request to the merge queue Jan 24, 2024
Merged via the queue into Qiskit:main with commit b5c4da3 Jan 24, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Removal Include in the Removed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants