Skip to content

bloqade.qbraid.schema.LocalW

← Module overview

classLocalWsource

bloqade.qbraid.schema.LocalW

Bases: Operation

LocalW operation.

class LocalW

Fields

op_type (str): The type of operation (Literal[“LocalW”]). participants (Tuple[int, …]): The qubit indices that are participating in the local W gate. theta (float): The angle of rotation. phi (float): The angle of rotation.

Attributes

NameTypeDefaultDescription
op_typeLiteral['LocalW']Field(init=False, default='LocalW')
participantsTuple[int, ...]required
thetafloatrequired
phifloatrequired