The protocol pattern has already been repeated 3 times in the code (noise mitigation, noise simulation and measurements).
[ ] Create a base class implementing this pattern and just reuse the code.
[ ] Harmonise NoiseTypes with Noise. Currently, analog ZNE uses NoiseTypes but readout mitigation uses Noise
[ ] ZNE requires density matrices from the Pulser backend. Consider a Result type that can be queried for wfs, samples, density matrices and fit various return types from backends.
The protocol pattern has already been repeated 3 times in the code (noise mitigation, noise simulation and measurements).
NoiseTypes
withNoise
. Currently, analog ZNE usesNoiseTypes
but readout mitigation usesNoise
Result
type that can be queried for wfs, samples, density matrices and fit various return types from backends.