gates_can_commute

Function gates_can_commute 

Source
pub fn gates_can_commute(gate1: &dyn GateOp, gate2: &dyn GateOp) -> bool
Expand description

Check if two gates can be commuted past each other