Tutorials
Libraries
qiskit.circuit.library
API References
Troubleshooting
Return circuit depth (i.e., length of critical path). This does not include compiler or simulator directives such as ‘barrier’ or ‘snapshot’.
Depth of circuit.
int
Notes
The circuit depth and the DAG depth need not be the same.