Skip to content

Using mitiq ZNE with qiskit_runtime.Sampler. #2035

Closed Answered by andreamari
Z035 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@natestemen
Comment options

@andreamari
Comment options

Answer selected by Z035
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants