Skip to content

Releases: unitaryfund/pennylane-qrack

Fix expectation values for PyQrack (non-QJIT) back end

19 Jul 21:45
Compare
Choose a tag to compare

What's Changed

  • 'rotations' parameter is redundant if Qrack converts to observable basis by @WrathfulSpatula in #20

Full Changelog: v0.7.1...v0.7.2

sha1sum results:
005917564b8894dc7c5eb3479cb69e5c997956c5 pennylane_qrack-0.7.2-py3-none-macosx_12_0_x86_64.whl
fe9a452dba3e1dbe6141ee621aa16b1729ef702b pennylane_qrack-0.7.2-py3-none-macosx_13_0_x86_64.whl
bccfc8c07c69d95253220e54044b228969c37683 pennylane_qrack-0.7.2-py3-none-macosx_14_0_arm64.whl
d4093f581e93177a9685685b7870952eae8c272e pennylane_qrack-0.7.2-py3-none-manylinux_2_31_x86_64.whl
1f1826faac4353cb16243a09640429af31e524e6 pennylane_qrack-0.7.2-py3-none-manylinux_2_35_x86_64.whl
9e78699c8daaaee55f1071064d060efa651bd6f2 pennylane_qrack-0.7.2-py3-none-manylinux_2_39_x86_64.whl
03f710178b0e92ef8858486f1403492ecfb28f7b pennylane_qrack-0.7.2-py3-none-win_amd64.whl
ed129546dabd678fac4dc09cd03dfddb7707ab72 pennylane_qrack-0.7.2.tar.gz

Debug qubit reallocation

12 Jul 18:41
d620c3f
Compare
Choose a tag to compare

This release (solely) fixes a bug where the Qrack device does not correctly re-allocate after qubits are first released. This previously could have impacted situations where a QJIT subroutine was called twice, using the same original Qrack device, and such situations would have raised exception for bad qubit access.

What's Changed

Full Changelog: v0.7.0...v0.7.1

sha1sum results:
3a2a289e9155b385e5c8e32bbeffc216b5e0adb5 pennylane_qrack-0.7.1-py3-none-macosx_12_0_x86_64.whl
9b4670d931b8eac27e65492ca96d67e9c1a7f43d pennylane_qrack-0.7.1-py3-none-macosx_13_0_x86_64.whl
84249ee0ca39945283d315f77100f0ae522e61b2 pennylane_qrack-0.7.1-py3-none-macosx_14_0_arm64.whl
5c622e5ac0a2a14f61b0820f21ca430308d6151b pennylane_qrack-0.7.1-py3-none-manylinux_2_31_x86_64.whl
e014708354824fccf8e15d92601d1543a7042a57 pennylane_qrack-0.7.1-py3-none-manylinux_2_35_x86_64.whl
d1d0026d2ed8470ed680ed24c0e9e1c1f6de73df pennylane_qrack-0.7.1-py3-none-manylinux_2_39_x86_64.whl
c5c52dd81e467c3e9a1310ce9005e9cc0a8a6202 pennylane_qrack-0.7.1-py3-none-win_amd64.whl
a08738b15ecb59809f17fcb3715378bbb7723eca pennylane_qrack-0.7.1.tar.gz

Basic noisy simulation

12 Jul 12:35
Compare
Choose a tag to compare

This adds a simulation layer with support for a very basic noise model: every gate applies single-qubit depolarizing noise on each qubit involved, respectively, based upon a noise parameter that can be set in code or by environment variable (QRACK_GATE_DEPOLARIZATION), between each single gate.

sha1sum results:
25c9053bb786ccd762be721b1cb0592a9563cc58 pennylane_qrack-0.7.0-py3-none-macosx_12_0_x86_64.whl
ed1329c7eb45ebc81420dd6cb4e48c2b20aa4879 pennylane_qrack-0.7.0-py3-none-macosx_13_0_x86_64.whl
d05afc48b23ab0d12e861064a54e59bc3f8f93a1 pennylane_qrack-0.7.0-py3-none-macosx_14_0_arm64.whl
cc6bfafe80b15ca108d5c5f4bc6ecc3850ead2ca pennylane_qrack-0.7.0-py3-none-manylinux_2_31_x86_64.whl
7beff065def6c99c4f1c319f1db9479f7bd64842 pennylane_qrack-0.7.0-py3-none-manylinux_2_35_x86_64.whl
b97adbd4925e6642e24f012f07ec2a96c63745b5 pennylane_qrack-0.7.0-py3-none-manylinux_2_39_x86_64.whl
5ca30b4bf4e40c672f66609b222e19bea95ffa87 pennylane_qrack-0.7.0-py3-none-win_amd64.whl
05a6649acfe473dc80a7c8cd815ccffe5335d770 pennylane_qrack-0.7.0.tar.gz

Packaging improvements

10 Jul 13:57
Compare
Choose a tag to compare

This release fixes several issues with packaging:

  • Removes unintentional inclusion of shared library artifact in source distribution
  • README documentation is brought up-to-date, regarding installation
  • Should automatically link against the official ("deprecated") OpenCL framework available on Mac, only if the processor is x86_64
  • Explicitly pins Catalyst and Qrack versions, for reproducible and stable builds

sha1sum results:
c98c88214978b89ad8ca460881f4d0653eab23fd pennylane_qrack-0.6.16-py3-none-macosx_12_0_x86_64.whl
9f3a4b6382684332ddea876f779d28dfddd86b90 pennylane_qrack-0.6.16-py3-none-macosx_13_0_x86_64.whl
f0655294410173c86a8aaad9377afb40db3e36f9 pennylane_qrack-0.6.16-py3-none-macosx_14_0_arm64.whl
c13b1249c0d9a2d5e6b491450dcf54b39e012ece pennylane_qrack-0.6.16-py3-none-manylinux_2_31_x86_64.whl
cb55a262b4b9a801a132ba01130b9220bde8335b pennylane_qrack-0.6.16-py3-none-manylinux_2_35_x86_64.whl
fff5bf6d5967fcac3f8735a284aeec4b7920fc54 pennylane_qrack-0.6.16-py3-none-manylinux_2_39_x86_64.whl
9185a4e7c22f703708a099a28561646ef48a3450 pennylane_qrack-0.6.16-py3-none-win_amd64.whl
07a925bbec4e53e5bf5ca384924b4ebfed624bd2 pennylane_qrack-0.6.16.tar.gz

Universal source build

09 Jul 04:30
Compare
Choose a tag to compare

This release eliminates the need to install scikit-build before installing this plugin from PyPi. Instead of scikit-build, setuptools is used to build source releases on systems without support from the supplied wheels. (Please file bug reports if any source builds fail to support your system, and the Qrack team will work through debugging your build!)

sha1sum results:
69f3dc99c49806441b3ec9eda2b1360366a8222f pennylane_qrack-0.6.15-py3-none-any.whl
e3ddc0e4ab98b01e3b6164ef8af1280926759a53 pennylane_qrack-0.6.15-py3-none-manylinux_2_31_x86_64.whl
4e26310c9e8bdbbec69b3df8ee6b9f3646554f49 pennylane_qrack-0.6.15-py3-none-manylinux_2_35_x86_64.whl
98940ef8a8342d19d49ffaac500d5a7bbec194fb pennylane_qrack-0.6.15-py3-none-manylinux_2_39_x86_64.whl
a65fcd1c66261e1788c56c8406d582d8173fca38 pennylane_qrack-0.6.15-py3-none-win_amd64.whl
6360ae5f15f15fcf6ea08b3ac6ae9a6a38b52b23 pennylane_qrack-0.6.15.tar.gz

Packaging details

06 Jul 16:14
Compare
Choose a tag to compare

This release settles some fine details of packaging. Windows and Mac builds also now look for the correct respective object files for Catalyst support.

sha1sum results:
12a5d30c9ffaec31d75aa7fc78117a172e189161 pennylane_qrack-0.6.13-cp310-cp310-manylinux_2_31_x86_64.whl
d4749bd0f3ef62f0e4c96b8e32d4640c190c9f00 pennylane_qrack-0.6.13-cp310-cp310-manylinux_2_35_x86_64.whl
0ec5306618c8c7729dbbe3085f22ee2f2437e7af pennylane_qrack-0.6.13-cp312-cp312-macosx_14_0_arm64.whl
e7715230e075640de4723e900ddb6525fe98e5b7 pennylane_qrack-0.6.13-cp312-cp312-manylinux_2_39_x86_64.whl
3a9ff8f730d15e8251e94dd207071831c4b8f0fe pennylane_qrack-0.6.13-py3-none-win_amd64.whl
a41c4a2968e2580160cc2d4ba48ed0a5d9cb3f70 pennylane_qrack-0.6.13.tar.gz

Packaging details

03 Jul 18:55
Compare
Choose a tag to compare

This (pre-)release only settles some fine details of packaging. For now, it seems that the lightning.kokkos simulator package required by the pennylane-catalyst wheel for Ubuntu Focal Fossa distribution series (20.04 LTS) builds from source distribution, but it fails to build.

sha1sum results:
3e8966858250e2cb54335ab6199ba936c8628619 pennylane_qrack-0.6.12-cp310-cp310-manylinux_2_35_x86_64.whl
768ae5a9d56f93f480cc96858010219c663a3822 pennylane_qrack-0.6.12-cp312-cp312-macosx_14_0_arm64.whl
c0e5874d131b7450d83c41a46dcedec5fc092145 pennylane_qrack-0.6.12-cp312-cp312-manylinux_2_39_x86_64.whl
cf06e65b538dcc9e281102286d6cf751aaca2d05 pennylane_qrack-0.6.12-py3-none-win_amd64.whl
63d6a677feeafac1c5cce0599e91c0922a2242cb pennylane_qrack-0.6.12.tar.gz

PennyLane Catalyst device pre-release (fix wheel platform labels and dependencies)

29 Jun 18:59
Compare
Choose a tag to compare

Shortly after the last release was published, the developer realized that an explicitly declared dependency on PennyLane Catalyst would prevent the Windows wheel from installing from PyPi, since Catalyst wheels are not yet available on Windows. This led the developer to realize further that Catalyst need not be a required dependency for any version of the wheel: it only becomes necessary when @qjit decorator is used, and the decorator itself is imported directly from the Catalyst package. If Catalyst is not available, neither is the @qjit decorator, but pennylane-qrack can still function perfectly well with PyQrack instead of Catalyst QJIT.

Dependence on Catalyst is now purely optional for all wheels, and the Windows wheel label has been fixed.

sha1sum results:
f63d01f035879c34b154ca9bcfd1d156d289ce0a pennylane_qrack-0.6.11-cp312-cp312-macosx_14_0_arm64.whl
49dc3fa811d6e29584fc3ad876d638ff7bba1639 pennylane_qrack-0.6.11-cp312-cp312-manylinux2014_x86_64.whl
8799579b538894073945f6398b9947315c2ddbba pennylane_qrack-0.6.11-cp312-cp312-manylinux_2_35_x86_64.whl
98616ceeb33b275676c1e87df36b5f5a3cb60344 pennylane_qrack-0.6.11-cp312-cp312-manylinux_2_39_x86_64.whl
5672cc8a2a9e96593146af23b17328ff73438e7d pennylane_qrack-0.6.11-py3-none-win_amd64.whl
43f4580aa8e465878b021409b8f479d22db59e3a pennylane_qrack-0.6.11.tar.gz

PennyLane Catalyst device pre-release (for Catalyst v0.7)

29 Jun 13:45
Compare
Choose a tag to compare

This the first complete set of wheels released with Catalyst support. (Only Windows specifically does not yet have a wheel that supports Catalyst.) Catalyst v0.7 or later is required to use QJIT, with plans for release within about the next two weeks (or already available as pre-release version source code at https://github.com/PennyLaneAI/catalyst).

sha1sum results:
7b3146e64921ceb971437325575647f256090505 pennylane_qrack-0.6.10-cp312-cp312-macosx_14_0_arm64.whl
628db324cb7577192a2e832c5bdc5caa36d736a2 pennylane_qrack-0.6.10-cp312-cp312-manylinux2014_x86_64.whl
7b670d77287acacdcd39317c5b9bff3536117f84 pennylane_qrack-0.6.10-cp312-cp312-manylinux_2_35_x86_64.whl
7db41bb7ccf9dc05d9760ebfec7d1ff92d41cbbb pennylane_qrack-0.6.10-cp312-cp312-manylinux_2_39_x86_64.whl
0ad6885a7fe0e68bc3bc275f5db4283d1e5a1525 pennylane_qrack-0.6.10-cp312-cp312-win_amd64.whl
120e1a75139497feabc26c0192744666e62457a1 pennylane_qrack-0.6.10.tar.gz

Single-shot optimization (2)

12 Jun 19:14
Compare
Choose a tag to compare

This fixes a bug where measure_all() was assumed to be the name of a PyQrack method, whereas it is actually m_all(). (Blame: @WrathfulSpatula)

sha1sums:
80cad129b6a17f59ec1eba8197b02b97c687b928 pennylane_qrack-0.6.9-cp312-cp312-manylinux2014_x86_64.whl
11027ff8205fb0fccce74642349b61893510534e pennylane_qrack-0.6.9-cp312-cp312-manylinux_2_35_x86_64.whl
1e1a18b59b95efcae680e0a6cbea25ded6f2aed4 pennylane_qrack-0.6.9-cp312-cp312-manylinux_2_39_x86_64.whl
627c1b879eaadbc7418ff219dc503794074654c9 pennylane_qrack-0.6.9.tar.gz