hongyehu / PyClifford

An intuitive programming package for simulating and analyzing Clifford circuits, quantum measurement, and stabilizer states with applications to many-body localization, classical shadows, quantum chemistry and error correction code.
https://hongyehu.github.io/PyCliffordPages/intro.html
BSD 3-Clause "New" or "Revised" License
72 stars 15 forks source link

The convention for probability should be unified #8

Open hongyehu opened 1 year ago

hongyehu commented 1 year ago

The probability outcome from measurement is log_2 probability, and the bit-string probability is true probability. The convention should be fixed, and the convention will be log_2 probability for all the probability output.