qrisp.PassManager.__iadd__#

PassManager.__iadd__(other: CircuitPass | PassManager) PassManager[source]#

Add a pass or extend with the passes of another PassManager in-place.

Usage: pm += circuit_pass or pm += other_pass_manager.

Parameters:
otherCircuitPass or PassManager

The pass or pass manager whose passes to add.

Returns:
PassManager

Returns self after modification.