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

Deprecate accidentally public internal helper methods on QuantumCircuit #12417

Closed
mtreinish opened this issue May 16, 2024 · 0 comments · Fixed by #12785
Closed

Deprecate accidentally public internal helper methods on QuantumCircuit #12417

mtreinish opened this issue May 16, 2024 · 0 comments · Fixed by #12785
Labels
type: feature request New feature or request
Milestone

Comments

@mtreinish
Copy link
Member

What should we add?

The QuantumCircuit class has 5 methods which shouldn't really be exposed publically as they're only used as internal helpers as part of other functionality. However they have accidentally been documented as part of the public API in Qiskit and we need to support them for the remainder of 1.x. We should however mark these public entrypoints as deprecated ASAP and work towards making them internal only in 2.0. These methods are:

  • .cast()
  • .cbit_argument_conversion()
  • .cls_instances()
  • .cls_prefix()
  • .qbit_argument_conversion()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant