You're reading the documentation of the v1.2. For the latest released version, please have a look at v1.3.

error_mitigation

The error_mitigation package provides tools and algorithms for mitigating errors in quantum systems.

Loss Mitigation

Photon recycling was introduced in the following publication: Mills and Mezher [53]

perceval.error_mitigation.photon_recycling(noisy_input, ideal_photon_count)

A classical technique to mitigate errors in the output distribution caused by photon loss in LO quantum circuits (ref: https://arxiv.org/abs/2405.02278)

The input must contain events with one and two fewer photons than the ideal photon count.

Parameters:
  • noisy_input (BSCount | BSDistribution) – Noisy output counts or probability distribution.

  • ideal_photon_count (int) – Expected photon count for a lossless system.

Return type:

BSDistribution

Returns:

Photon-loss-mitigated probability distribution.