Using mitiq ZNE with qiskit_runtime.Sampler
.
#2035
-
Beta Was this translation helpful? Give feedback.
Answered by
andreamari
Oct 3, 2023
Replies: 1 comment 2 replies
-
Unless you apply strong customization of the source code, In practice, in order to use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Z035
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless you apply strong customization of the source code,
mitiq.zne
acts on expectation values and is not able to act on intermediate quasi-distributions.In practice, in order to use
mitiq.zne
you need an executor, i.e., a function mapping circuits (without symbolic parameters) to expectation values. See e.g. this Qiskit example.