bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods
← Module overview
class
method
sourcemethod
sourcemethod
sourcemethod
sourcemethod
source
classEmitStimNoiseMethods¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods
Bases: MethodTable
class EmitStimNoiseMethodsAttributes
| Name | Type | Default | Description |
|---|---|---|---|
single_p_error_map | dict[str, str] | {stmts.Depolarize1.name: 'DEPOLARIZE1', stmts.Depolarize2.name: 'DEPOLARIZE2', stmts.XError.name: 'X_ERROR', stmts.YErr… |
methodsingle_p_error¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods.single_p_error
Signature
def single_p_error(emit: EmitStimMain, frame: EmitStimFrame, stmt: stmts.Depolarize1)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitStimMain | |
frame | EmitStimFrame | |
stmt | stmts.Depolarize1 |
methodpauli_channel1¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods.pauli_channel1
Signature
def pauli_channel1(emit: EmitStimMain, frame: EmitStimFrame, stmt: stmts.PauliChannel1)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitStimMain | |
frame | EmitStimFrame | |
stmt | stmts.PauliChannel1 |
methodpauli_channel2¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods.pauli_channel2
Signature
def pauli_channel2(emit: EmitStimMain, frame: EmitStimFrame, stmt: stmts.PauliChannel2)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitStimMain | |
frame | EmitStimFrame | |
stmt | stmts.PauliChannel2 |
methodnon_stim_error¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods.non_stim_error
Signature
def non_stim_error(emit: EmitStimMain, frame: EmitStimFrame, stmt: stmts.TrivialError)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitStimMain | |
frame | EmitStimFrame | |
stmt | stmts.TrivialError |
methodnon_stim_corr_error¶source
bloqade.stim.dialects.noise.emit.EmitStimNoiseMethods.non_stim_corr_error
Signature
def non_stim_corr_error(emit: EmitStimMain, frame: EmitStimFrame, stmt: stmts.TrivialCorrelatedError)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitStimMain | |
frame | EmitStimFrame | |
stmt | stmts.TrivialCorrelatedError |