PennyLaneAI / qml

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.
https://pennylane.ai/qml
Apache License 2.0
537 stars 185 forks source link

(Offline) Qrack tutorial #1142

Closed WrathfulSpatula closed 2 months ago

WrathfulSpatula commented 3 months ago

Title: The Qrack device back end (with Catalyst)

Summary: In this tutorial you will learn how to use the Qrack device back end for PennyLane and Catalyst, and you'll learn certain suggested cases of use where Qrack might particularly excel at delivering lightning-fast performance or minimizing required memory resources. (See #1137: this recreates the PR for further review)

Relevant references: https://github.com/unitaryfund/qrack https://github.com/unitaryfund/pyqrack https://arxiv.org/abs/2304.14969

Possible Drawbacks: Not all users might have Catalyst installed, and this tutorial will require Catalyst v0.7 or later.


If you are writing a demonstration, please answer these questions to facilitate the marketing process.

github-actions[bot] commented 3 months ago

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.

WrathfulSpatula commented 3 months ago

@josh146 @ikurecic I think this might be ready-to-roll! The demo is now "offline." In the preview, the images don't load for me, but, if I go directly to the image file location, the preview environment tells me that "access is denied." I suspect that's not something I need to fix, but please let me know if it is!

nathanshammah commented 2 months ago

Great to see this on the preview website.

WrathfulSpatula commented 2 months ago

@ikurecic I promise that I will size the chart labels basically to exhaustion of the horizontal width, and I'll increase the chart title font size. Since this is an offline demo, we can "stage" the pictorial for the static documentation (only slightly) by increasing the font size in my local copy, but leaving it out of the demo code. (This is probably somewhat friendlier for the user experience of running the demo locally.) I'll have this ASAP, and thank you again!