Photon-number-resolving detectors (PNRDs) play a vital role in achieving this accuracy and have two main performance indicators: resolving fidelity, which measures the probability of accurately ...