Closed HGSilveri closed 1 month ago
The warning message indicating there are unused parameters in the NoiseModel now includes the non-zero noise parameters, e.g. for
NoiseModel
pulser.NoiseModel(p_false_pos=0.1, runs=10)
Before:
UserWarning: 'runs' is not used by any active noise type ('SPAM',).
After:
UserWarning: 'runs' is not used by any active noise type in ('SPAM',) when the only defined parameters are ['p_false_pos'].
Fixes #742 .
The warning message indicating there are unused parameters in the
NoiseModel
now includes the non-zero noise parameters, e.g. forBefore:
After:
Fixes #742 .