Skip to content

Lowering

ApplyAnyCallLowering dataclass

ApplyAnyCallLowering()

Bases: FromPythonCall['qubit.ApplyAny']

Custom lowering for ApplyAny that collects vararg qubits into a single tuple argument

BroadcastCallLowering dataclass

BroadcastCallLowering()

Bases: FromPythonCall['qubit.Broadcast']

Custom lowering for broadcast vararg call.

NOTE: we can re-use this to lower Apply too once we remove the deprecated syntax