pyqtorch
pyqtorch copied to clipboard
[Noise, Refactor] Make the NoiseProtocol logic accept a sequence of noises
Current the logic for a sequence of noises uses a dict
of NoiseProtocol
, as seen in the QuantumOperation.forward
. As suggested by @Roland-djee here, instead, it would be simpler if the protocol itself contains the sequence.