qiskit/releasenotes/notes/1.3/fix-qc-depth-0q-cdcc9aa14e2...

9 lines
302 B
YAML

---
fixes:
- |
:meth:`.QuantumCircuit.depth` will now correctly handle operations that
do not have operands, such as :class:`.GlobalPhaseGate`.
- |
:meth:`.QuantumCircuit.depth` will now count the variables and clbits
used in real-time expressions as part of the depth calculation.