Skip to content

More observables

Compare
Choose a tag to compare
@WrathfulSpatula WrathfulSpatula released this 25 Feb 12:52
· 3 commits to main since this release

Features added:

  • Available observable bases are now (tensor products of) x, y, z, i, and h.
  • Expectation observables for available bases can be calculated exactly for 0 shots.

In a future release, exact calculation of Probability and Variance will require Qrack to expose the ProbBitsAll() method on QInterface. (The method already exists in the C++ code, but there was no demand for this method to be exposed via the shared library API, previously.)