Implement a Flexible Noise Model Class #12
Labels
coding
General coding work, such as implementing a new algorithm or writing tests
enhancement
New feature or request
good first issue
Good for newcomers
noise-modelling
Implementation of noise models
Issue: Implement a Flexible
Noise Model
ClassDescription:
Currently, the circuit-level threshold calculator uses a fixed and limited noise model. To improve flexibility and clarity and allow users to assign different noise models dynamically, we propose implementing a
NoiseModel
class. This class would allow users to easily assign and customize their desired noise model for threshold calculations, including support for various types of noise (e.g., depolarizing, bit-flip, phase-flip, amplitude damping, etc.).This new class would decouple the noise model from the existing circuit construction logic, enabling a more modular approach to handling noise and allowing users to experiment with different noise models.
Motivation:
NoiseModel
class will make the codebase more maintainable and easier to extend with new noise models.Expected Changes:
NoiseModel
class: Implement a class that allows users to assign a desired noise model (e.g., depolarizing, bit-flip, phase-flip, amplitude damping) and specify noise parameters.NoiseModel
class to theThresholdLAB
or/andBaseCode
for customized noise handling.NoiseModel
class instead of relying on a fixed noise model.Design Proposal:
NoiseModel
Class:apply_noise()
).ThresholdLAB
or/andBaseCode
to accept an instance of theNoiseModel
class.NoiseModel
class to be easily extendable with additional noise models (e.g., correlated noise, time-dependent noise, qubit-dependent noise).The text was updated successfully, but these errors were encountered: