Skip to content

Add local folding to ZNE error mitigation #755

Open
@josh146

Description

@josh146

Requirements

The mitigate_with_zne function is modified to take a folding argument:

mitigate_with_zne(f, *, scale_factors: jax.Array, folding: str, deg)

where folding accepts a string corresponding to:

  • global (current behaviour, global folding)

  • random (local random folding)

  • left (local folding from left)

  • right (local folding from right)

  • all (all gates folded locally)

For more details on how these options behave, see the mitiq documentation.

The mitigate_with_zne docstring should be adequately updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerPull requests that update the compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions