qiskit/releasenotes/notes/0.15/ancilla-qubit-cdf5fb28373b8...

10 lines
430 B
YAML

---
features:
- |
Two new classes, :class:`~qiskit.circuit.AncillaRegister` and
:class:`~qiskit.circuit.AncillaQubit` have been added to the
:mod:`qiskit.circuit` module. These are subclasses of
:class:`~qiskit.circuit.QuantumRegister` and :class:`~qiskit.circuit.Qubit`
respectively and enable marking qubits being ancillas. This will allow
these qubits to be re-used in larger circuits and algorithms.