Add "mitiq.raw.execute
"?
#1006
Labels
documentation
Improvements or additions to documentation
needs/agreed-design
Needs a plan of action that is agreed upon to complete.
priority/low
A non-urgent issue to fix or idea to discuss.
Without an observable, the canonical way to compute "raw results" (i.e., results without error mitigation) is
execute(circuit)
.However, with an observable, the interface is different:
Executor.evaluate(circuit, observable)
orobservable.expectation(circuit, executor)
.execute_with_xxx(circuit, executor, observable)
.Should we (i) support a common interface? and (ii) do this by adding a "raw" module which does not do any error mitigation but exists solely for the purpose of having a common interface?
Pros
It would be really useful for documentation and examples. For example:
Cons
It doesn't really have a use beyond documentation. One may misinterpret
mitiq.raw
to do error mitigation.The text was updated successfully, but these errors were encountered: