qiskit/releasenotes/notes/1.0/remove-cfun-toplevel-5d0d58...

7 lines
312 B
YAML

---
upgrade_circuits:
- |
Importing :class:`.Int1`, :class:`.Int2`, :class:`.BooleanFunction`, :func:`.classical_function`
from :mod:`qiskit.circuit` is now disabled. Instead, import the objects from the
:mod:`qiskit.circuit.classicalfunction` submodule, which requires the ``tweedledum`` package.