qml.ops.qubit.attributes.self_inverses

self_inverses = {'CNOT', 'CY', 'CZ', 'Hadamard', 'PauliX', 'PauliY', 'PauliZ', 'SWAP', 'Toffoli'}

Operations that are their own inverses.

Type

Attribute