Skip to content

Align definition of scale factor with Zero-Noise Extrapolation literature #983

Closed
@cosenal

Description

@cosenal

The mitigate_with_zne API in Catalyst accepts a scale_factors argument, which represents a range of scalar factors by which the circuit is scaled.

In the literature of Zero-Noise Extrapolation 12, a scale factor value $\lambda$ is the ratio between the number of gates of the scaled circuit and the number of gates of the original circuit. However, in the Catalyst implementation, the term scale factor is used to denote the number $n$ of foldings of the circuit.

The relation between the two definitions is $\lambda = 1 + 2n$.

For example, scale_factor = 1 (i.e., $\lambda=1$, $n=0$) means that the circuit is not folded.
For scale_factor = 3 ($\lambda=3$, $n=1$), we have that the circuit is folded once

$$C \rightarrow C(C^{\dagger}C)$$

and the number of gates in the scaled circuit is three times the number of gates in the original circuit.
(See 2 for a discussion on odd/even/non-integer scale factors.)


This issue is about aligning the definition of scale factor in Catalyst with the literature as above, by either renaming the scale_factors argument in the API, or assigning a new meaning to it.

Footnotes

  1. https://arxiv.org/abs/2005.10921

  2. https://mitiq.readthedocs.io/en/v0.38.0/guide/zne-3-options.html#what-additional-options-are-available-when-using-zne 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions