qml.ops.qubit.attributes.supports_broadcasting

supports_broadcasting = {'AmplitudeEmbedding', 'AngleEmbedding', 'CRX', 'CRY', 'CRZ', 'CRot', 'ControlledPhaseShift', 'ControlledQubitUnitary', 'DiagonalQubitUnitary', 'DoubleExcitation', 'DoubleExcitationMinus', 'DoubleExcitationPlus', 'IQPEmbedding', 'IsingXX', 'IsingXY', 'IsingYY', 'IsingZZ', 'MultiRZ', 'OrbitalRotation', 'PauliRot', 'PhaseShift', 'QAOAEmbedding', 'QubitStateVector', 'QubitUnitary', 'RX', 'RY', 'RZ', 'Rot', 'SingleExcitation', 'SingleExcitationMinus', 'SingleExcitationPlus', '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