Skip to content

bloqade.native.stdlib.simple.x

← Module overview

functionxsource

bloqade.native.stdlib.simple.x

def x(qubit: qubit.Qubit)

Apply a Pauli-X gate on a single qubit.

Parameters

NameTypeDescription
qubitqubit.QubitThe qubit to apply the X gate to.
source