Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync dev to master #1155

Merged
merged 346 commits into from
Jul 9, 2024
Merged

Sync dev to master #1155

merged 346 commits into from
Jul 9, 2024

Conversation

astralcai
Copy link
Contributor

This is the sync from dev to master for the v0.37 release.

actions-user and others added 30 commits May 17, 2023 00:22
* adjoint diff tutorial improvement

* Apply suggestions from code review

Co-authored-by: Mudit Pandey <[email protected]>
Co-authored-by: Matthew Silverman <[email protected]>

* update date

---------

Co-authored-by: Mudit Pandey <[email protected]>
Co-authored-by: Matthew Silverman <[email protected]>
WrathfulSpatula and others added 12 commits July 3, 2024 09:07
The lima device used in the quantum volume demo no longer exists. This
update switches to make it use the fake lima device instead.

Since when running the demo, I got data that no longer agreed with the
conclusions of the data present in the demo, I added a warning that
device details may have changed over time.

Since we now use a fake device instead of a real device, this demo could
theoretically be automatically run. But the difference in the data
output means that the automatically run results would not tell the same
story.

---------

Co-authored-by: Olivia Di Matteo <[email protected]>
Adding more wires and layers such that the performance scaling is more
significant.
Updating some demos for PL 0.37 (quality check)

---------

Co-authored-by: Ivana Kurečić <[email protected]>
**Summary:**
* Update `ahs_aquila` and `braket_parallel_gradients` demos to be up to
date with PennyLane 0.37.
* Update `pyproject.toml` to install torch 2.1.2. The old version (1.13)
was quite old. I tried changing the version to 2.3.1 which requires
`typing-extensions>=4.8`, but that caused a dependency conflict with
tensorflow which required `typing-extensions<4.6`

**Relevant references:**

**Possible Drawbacks:**

**Related GitHub Issues:**

Co-authored-by: Astral Cai <[email protected]>
The `ensemble_multi_qpu` demo is not compatible with the most recent
versions of Qiskit (and the PennyLane Qiskit plugin). We add a warning
with compatible versions.
### Before submitting

Please complete the following checklist when submitting a PR:

- [x] Ensure that your tutorial executes correctly, and conforms to the
      guidelines specified in the [README](../README.md).

- [x] Remember to do a grammar check of the content you include.
- [x] All tutorials conform to
      [PEP8 standards](https://www.python.org/dev/peps/pep-0008/).
      To auto format files, simply `pip install black`, and then
      run `black -l 100 path/to/file.py`.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


------------------------------------------------------------------------------------------------------------

**Title:** How to simulate quantum circuits with tensor networks using
DefaultTensor

**Summary:** This how-to guide shows the first steps to use the new
``default.tensor`` device that will be available to users in PennyLane
0.37

**Relevant references:** To be discussed with reviewer(s)

**Possible Drawbacks:** None that I can think of, except for package
dependencies

**Related GitHub Issues:** None

**Related Shortcut Stories:** [sc-65345]

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

* GOALS — Why are we working on this now?

*Eg. Promote a new PL feature or show a PL implementation of a recent
paper.*


* AUDIENCE — Who is this for?

*Eg. Chemistry researchers, PL educators, beginners in quantum
computing.*


* KEYWORDS — What words should be included in the marketing post?


* Which of the following types of documentation is most similar to your
file?
(more details
[here](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8))
    
- [ ] Tutorial
- [ ] Demo
- [x] How-to

---------

Co-authored-by: Josh Izaac <[email protected]>
Co-authored-by: Ivana Kurečić <[email protected]>
@astralcai astralcai added the ci:build-all-qml-demos Build all the Demos for this Pull Request label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

Copy link

github-actions bot commented Jul 9, 2024

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1155
  • Deployment SHA: 1d44abcaaef5b6340d30f74d46dfe5c499a5e434
    (The Deployment SHA refers to the latest commit hash the docs were built from)

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

@astralcai astralcai enabled auto-merge (squash) July 9, 2024 20:16
@astralcai astralcai merged commit 0c31674 into master Jul 9, 2024
19 checks passed
@astralcai astralcai deleted the sync-to-master branch July 9, 2024 20:16
This was referenced Jul 15, 2024
doctorperceptron added a commit that referenced this pull request Jul 16, 2024
merges changes from `master` into `dev`.

# motivation
#1155 merged `dev` to `master` with modifications, but these
modifications did not make their way into `dev`. This PR does exactly
that.

---------

Co-authored-by: Astral Cai <[email protected]>
Co-authored-by: GitHub Nightly Merge Action <[email protected]>
Co-authored-by: Mudit Pandey <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: Romain Moyard <[email protected]>
Co-authored-by: Matthew Silverman <[email protected]>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Tom Bromley <[email protected]>
Co-authored-by: Josh Izaac <[email protected]>
Co-authored-by: Rashid N H M <[email protected]>
Co-authored-by: Guillermo Alonso-Linaje <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: CatalinaAlbornoz <[email protected]>
Co-authored-by: Jay Soni <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
Co-authored-by: Diego <[email protected]>
Co-authored-by: Utkarsh <[email protected]>
Co-authored-by: Stepan Fomichev <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: Alvaro Ballon <[email protected]>
Co-authored-by: Diego <[email protected]>
Co-authored-by: Lee J. O'Riordan <[email protected]>
Co-authored-by: Korbinian Kottmann <[email protected]>
Co-authored-by: DanielNino27 <[email protected]>
Co-authored-by: Paul Finlay <[email protected]>
Co-authored-by: ashishks0522 <[email protected]>
Co-authored-by: Mikhail Andrenkov <[email protected]>
Co-authored-by: David Wierichs <[email protected]>
Co-authored-by: Diksha Dhawan <[email protected]>
Co-authored-by: Ivana Kurečić <[email protected]>
Co-authored-by: Gopal Ramesh Dahale <[email protected]>
Co-authored-by: Sankalp Sanand <[email protected]>
Co-authored-by: Ivana Kurečić <[email protected]>
Co-authored-by: Austin Huang <[email protected]>
Co-authored-by: Isaac De Vlugt <[email protected]>
Co-authored-by: WrathfulSpatula <[email protected]>
Co-authored-by: Olivia Di Matteo <[email protected]>
Co-authored-by: Pietropaolo Frisoni <[email protected]>
Co-authored-by: Ahmed Darwish <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:build-all-qml-demos Build all the Demos for this Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.