Tutorials
Libraries
API References
qiskit.circuit
qiskit.compiler
qiskit.execute
qiskit.visualization
qiskit.converters
qiskit.assembler
qiskit.dagcircuit
qiskit.extensions
qiskit.providers.basicaer
qiskit.providers
qiskit.providers.models
qiskit.pulse
qiskit.scheduler
qiskit.qasm
qiskit.qobj
qiskit.quantum_info
qiskit.result
qiskit.tools
qiskit.tools.jupyter
qiskit.transpiler
qiskit.transpiler.passes
qiskit.transpiler.preset_passmanagers
qiskit.validation
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.