Depth

class Depth(*args, **kwargs)[source]

Calculate the depth of a DAG circuit.

Attributes

Depth.is_analysis_pass

Check if the pass is an analysis pass.

Depth.is_transformation_pass

Check if the pass is a transformation pass.

Methods

Depth.name()

Return the name of the pass.

Depth.run(dag)

Run the Depth pass on dag.