PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.29k stars 590 forks source link

Update datasets to use API #6126

Open anthayes92 opened 1 month ago

anthayes92 commented 1 month ago

Context: Datasets are currently downloaded by hitting the S3 bucket (via CloudFront) where the .h5 files are stored. This PR updates the way datasets are downloaded by directing download requests to the Software Cloud managed Datasets Service.

Description of the Change: The qml.data.load function now queries the Datasets API in order to download datasets.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.69%. Comparing base (b78565c) to head (10d2903). Report is 18 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6126 +/- ## ========================================== + Coverage 99.58% 99.69% +0.11% ========================================== Files 443 444 +1 Lines 42273 42141 -132 ========================================== - Hits 42096 42012 -84 + Misses 177 129 -48 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.