qiskit.transpiler.passes.ConsolidateBlocks.run¶ ConsolidateBlocks.run(dag)[source]¶ Run the ConsolidateBlocks pass on dag. Iterate over each block and replace it with an equivalent Unitary on the same wires.