Skip to content

tsim.core.instructions.r_x

← Module overview

functionr_xsource

tsim.core.instructions.r_x

def r_x(b: GraphRepresentation, qubit: int, phase: Fraction) -> None

Apply R_X rotation gate with given phase (in units of π).

Parameters

NameTypeDescription
bGraphRepresentation
qubitint
phaseFraction
source