Skip to content

v2.15.0

Compare
Choose a tag to compare
@karalekas karalekas released this 20 Dec 22:29
· 469 commits to master since this release
a762ca4

Announcements

  • PyQuil now supports encryption for communication with the QPU. It does so by requesting an Engagement from Forest Dispatch, which includes the keys necessary for encryption along with the endpoints to use. This workflow is managed by the new ForestSession class, and in the general case is transparent to the user (@kalzoo, gh-1123).

Improvements and Changes

  • LaTeX circuit output now ignores RESET instructions by default, rendering instead the (equivalent) program with RESET omitted (@kilimanjaro, gh-1118)
  • Broadened the scope of flake8 compliance to the include the examples and docs directories, and thus the whole repository (@tommy-moffat, gh-1113).
  • DEFGATE ... AS PAULI-SUM is now supported (@ecpeterson, gh-1125).
  • Add unit test for validating Trotterization order (@jmbr, gh-1120).
  • Updated the authentication mechanism to Forest server. Preferentially use credentials found at ~/.qcs/user_auth_credentials and fall back to ~/.qcs/qmi_auth_credentials (@erichulburd, gh-1123).
  • The log level can now be controlled with the LOG_LEVEL environment variable, set to LOG_LEVEL=DEBUG to help diagnose problems. In addition, certain errors will no longer print their entire stack trace outside of DEBUG mode, for a cleaner console and better user experience. This is only true for errors where the cause is well known (@kalzoo, gh-1123).
  • Connection to the QPU compiler now supports both ZeroMQ and HTTP(S) (@kalzoo, gh-1127).
  • Bump quilc / qvm parent Docker images to v1.15.1 (@karalekas, gh-1128).

Bugfixes

  • Pinned the mypy version to work around issue with nested types causing the make typecheck CI job to fail (@erichulburd, gh-1119).
  • Minor fixes for examples/1.3_vqe_demo.py and examples/quantum_walk.ipynb (@appleby, gh-1116).
  • Only request engagement from Forest Dispatch when QPU and QPU Compiler addresses are not provided by other configuration sources (@kalzoo, gh-1130).