qml.ops.qubit.attributes.symmetric_over_all_wires

symmetric_over_all_wires = {'CZ', 'SWAP'}

Operations that are the same if you exchange the order of wires.

For example, qml.CZ(wires=[0, 1]) has the same effect as qml.CZ(wires=[1, 0]) due to symmetry of the operation.

Type

Attribute