Gate cancellation
QuantumGate cancellation: An optimisation that removes pairs of adjacent gates which undo each other, such as two consecutive identical self-inverse gates.
Gate cancellation: An optimisation that removes pairs of adjacent gates which undo each other, such as two consecutive identical self-inverse gates.