qml.ops.qubit.attributes.supports_broadcasting

supports_broadcasting = {'CRX', 'CRY', 'CRZ', 'CRot', 'ControlledPhaseShift', 'ControlledQubitUnitary', 'DiagonalQubitUnitary', 'IsingXX', 'IsingYY', 'IsingZZ', 'MultiRZ', 'PauliRot', 'PhaseShift', 'QubitUnitary', 'RX', 'RY', 'RZ', 'Rot', 'U1', 'U2', 'U3'}

Operations that support parameter broadcasting.

For such operations, the input parameters are allowed to have a single leading additional broadcasting dimension, creating the operation with a batch_size and leading to broadcasted tapes when used in a QuantumTape.

Type

Attribute