Skip to content

Heuristic noise

NoiseRewriteRule dataclass

NoiseRewriteRule(
    address_analysis: Dict[SSAValue, Address],
    qubit_ssa_value: Dict[int, SSAValue],
    noise_model: MoveNoiseModelABC = noise.TwoRowZoneModel(),
)

Bases: RewriteRule


              flowchart TD
              bloqade.qasm2.rewrite.noise.heuristic_noise.NoiseRewriteRule[NoiseRewriteRule]

              

              click bloqade.qasm2.rewrite.noise.heuristic_noise.NoiseRewriteRule href "" "bloqade.qasm2.rewrite.noise.heuristic_noise.NoiseRewriteRule"
            

NOTE: This pass is not guaranteed to be supported long-term in bloqade. We will be moving towards a more general approach to noise modeling in the future.