qiskit-community / qiskit-ionq

Qiskit provider for IonQ backends
https://qiskit-community.github.io/qiskit-ionq/
Apache License 2.0
41 stars 22 forks source link

is ideal means no sampler #138

Closed splch closed 11 months ago

splch commented 11 months ago

Summary

fixes boolean bug

Details and comments

makes ideal simulator run by default

splch commented 11 months ago

The IonQ simulator API natively produces ideal probabilities based on a statevector simulation, not counts. For ease of interoperability and portability, this package uses a simple random sampling to produce "counts," and also exposes the true probabilities. The code samples below show this in more detail.