Skip to content

chore(deps): bump pennylane from 0.43.1 to 0.45.0#102

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/pennylane-0.45.0
Closed

chore(deps): bump pennylane from 0.43.1 to 0.45.0#102
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/pennylane-0.45.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor

Bumps pennylane from 0.43.1 to 0.45.0.

Release notes

Sourced from pennylane's releases.

Release 0.45.0

  • A new state preparation method called SumOfSlatersPrep is now available. This state preparation routine introduced in Fomichev et al., PRX Quantum 5, 040339 (see the associated demo) is a state-of-the-art technique for algorithms that require a high-quality initial state, like in ground-state energy estimation algorithms of chemical systems. [(#8964)](PennyLaneAI/pennylane#8964) [(#8997)](PennyLaneAI/pennylane#8997) [(#9228)](PennyLaneAI/pennylane#9228) [(#9323)](PennyLaneAI/pennylane#9323)

    Consider this sparse state on three qubits, specified by normalized coefficients and statevector indices pointing to the populated computational basis states:

    import pennylane as qp
    import numpy as np
    coefficients = np.array([1, -1j, 1j, 1]) / np.sqrt(4)
    indices = (0, 1, 2, 4)
    num_wires = 3
    wires = list(range(num_wires))

    The SumOfSlatersPrep operation requires the coefficients, indices, and wires as input. It efficiently prepares sparse states using auxiliary wires, QROM\ s, reversible bit encodings, and a dense-state preparation on a smaller subspace. Its implementation can be inspected by using PennyLane's graph-based decomposition algorithm (enable_graph) with the following gate set and five auxiliary wires (work_wires).

    qp.decomposition.enable_graph()
    gate_set = {"QROM", "TemporaryAND", "Adjoint(TemporaryAND)", "StatePrep", "CNOT", "X"}
    num_work_wires = 5
    @​qp.decompose(gate_set=gate_set, num_work_wires=num_work_wires)
    @​qp.qnode(qp.device("lightning.qubit", wires=num_work_wires+num_wires))
    def circuit():
    qp.SumOfSlatersPrep(coefficients, wires, indices)
    return qp.state()

    >>> print(qp.draw(circuit, show_matrices=False, max_length=180)())
                0: ────────────────╭QROM(M0)──X─╭●────────────●╮────╭●────────────●╮──X─╭●───────────────●╮─────────────┤  State
                1: ────────────────├QROM(M0)──X─├●────────────●┤──X─├●────────────●┤──X─├●───────────────●┤──X──────────┤  State
                2: ────────────────├QROM(M0)────│──╭●─────●╮───│──X─│──╭●─────●╮───│────│──╭●────────●╮───│──X──────────┤  State
    <DynamicWire>: ─╭Allocate─╭|Ψ⟩─├QROM(M0)────│──│───────│───│────│──│──╭X───│───│────│──│──╭X──────│───│─╭Deallocate─┤  State
    <DynamicWire>: ─├Allocate─╰|Ψ⟩─├QROM(M0)────│──│──╭X───│───│────│──│──│────│───│────│──│──│──╭X───│───│─├Deallocate─┤  State
    <DynamicWire>: ─├Allocate──────╰QROM(M0)────│──│──│────│───│────│──│──│────│───│────│──│──│──│────│───│─├Deallocate─┤  State
    <DynamicWire>: ─├Allocate───────────────────╰⊕─├●─│───●┤──⊕╯────╰⊕─├●─│───●┤──⊕╯────╰⊕─├●─│──│───●┤──⊕╯─├Deallocate─┤  State
    <DynamicWire>: ─╰Allocate──────────────────────╰⊕─╰●──⊕╯───────────╰⊕─╰●──⊕╯───────────╰⊕─╰●─╰●──⊕╯─────╰Deallocate─┤  State

    The smaller dense state preparation is represented by |Ψ⟩, which is on two wires, and the <DynamicWire> labels represent dynamically allocated wires (with allocate) used in its decomposition.

... (truncated)

Commits
  • 708a310 Bump minimum Lightning, Catalyst, and Pennylane versions to 0.45.0, 0.15.0, a...
  • 8bb4f59 [v0.45 release] strip -rcX suffix from version in preparation for release (#9...
  • 7c57364 [no ci] bump nightly version
  • 4adea5d [no ci] bump nightly version
  • 52124f6 [no ci] bump nightly version
  • 7423bad v0.45 Release Notes (#9409)
  • 1bafaf2 Clarifications in transforms docstrings (#9441)
  • efae1e0 Misc release fixes (#9438)
  • 5af1278 fix: prepend qnode as an argument to a pass' setup_inputs docstring (#9444)
  • f4466cd fix SProd.is_verified_hermitian with abstract coeffs (#9446)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pennylane](https://github.com/PennyLaneAI/pennylane) from 0.43.1 to 0.45.0.
- [Release notes](https://github.com/PennyLaneAI/pennylane/releases)
- [Commits](PennyLaneAI/pennylane@v0.43.1...v0.45.0)

---
updated-dependencies:
- dependency-name: pennylane
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jun 4, 2026
@dependabot dependabot Bot requested a review from m2papierz as a code owner June 4, 2026 02:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jun 4, 2026
@m2papierz m2papierz closed this Jun 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/uv/pennylane-0.45.0 branch June 4, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant