Open
Description
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.