Circuit.pop_cycle

Circuit.pop_cycle(cycle_index)[source]

Pop a cycle from the circuit and all operations in it.

Parameters:

cycle_index (int) – The index of the cycle to pop.

Raises:

IndexError – If cycle_index is out of range.