unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
363 stars 160 forks source link

Function to represent OperationRepresentations for biased noise #1109

Closed andreamari closed 2 years ago

andreamari commented 2 years ago

This issue is a first step towards the implementation of learnig-based technique for PEC (see #821 and #1088).

We currently have a function that generate an OperationRepresentation associated to an operation assuming depolarizing nose.

https://github.com/unitaryfund/mitiq/blob/84385d9eeb2afe14750675d73ec4fa9915122882/mitiq/pec/representations/depolarizing.py#L152

A preliminary step before implementing the core part of the learning-based PEC technique (see #821 and #1088), is having a similar function that depends on two noise parameters corresponding to a more general "biased noise" model that depends on two parameters epsilon and eta. Something like:

def represent_operation_with_biased_noise_noise(
    ideal_operation: QPROGRAM, epsilon: float, eta: float,
) -> OperationRepresentation:
andreamari commented 2 years ago

I am removing this from the 0.13 milestone since I think it is a useful issue but not urgent with respect to time.

Our main objective was planning and approving the associated RFC (see https://github.com/unitaryfund/mitiq/issues/821 and https://github.com/unitaryfund/mitiq/pull/1088) and this was done :+1: !