Emit
EmitStimGateMethods
Bases: MethodTable
flowchart TD
bloqade.stim.dialects.gate.emit.EmitStimGateMethods[EmitStimGateMethods]
click bloqade.stim.dialects.gate.emit.EmitStimGateMethods href "" "bloqade.stim.dialects.gate.emit.EmitStimGateMethods"
rotation_gate
rotation_gate(
emit: EmitStimMain, frame: EmitStimFrame, stmt: Rx
)
Emit rotation gate as I[R_X/R_Y/R_Z(theta=...)] in Stim annotation format.
Source code in .venv/lib/python3.12/site-packages/bloqade/stim/dialects/gate/emit.py
58 59 60 61 62 63 64 65 66 67 | |
t_gate
t_gate(emit: EmitStimMain, frame: EmitStimFrame, stmt: T)
Emit T gate as S[T] or S_DAG[T] in Stim annotation format.
Source code in .venv/lib/python3.12/site-packages/bloqade/stim/dialects/gate/emit.py
43 44 45 46 47 48 49 50 | |
u3_gate
u3_gate(emit: EmitStimMain, frame: EmitStimFrame, stmt: U3)
Emit U3 gate as I[U3(theta=..., phi=..., lambda=...)] in Stim annotation format.
Source code in .venv/lib/python3.12/site-packages/bloqade/stim/dialects/gate/emit.py
69 70 71 72 73 74 75 76 77 78 79 80 | |