PassManager.remove

PassManager.remove(index)[source]

Removes a particular pass in the scheduler.

Parameters

index (int) – Pass index to replace, based on the position in passes().

Raises

TranspilerError – if the index is not found.

Return type

None