Thomas R. Bromley
Thomas R. Bromley
### Expected behavior Consider the following circuit: ```python import pennylane as qml import numpy as np dev = qml.device("default.qubit", wires=1) # The state found by applying qml.RX(0.4, wires=0) to |0>:...
This is a prototype PR to add a button at the top of each demo that links to the corresponding notebook version of the demo in Xanadu Cloud. There is...
**Describe the bug** An error is raised when using `qml.QubitStateVector(...).inv()` with any of the Qiskit devices. The error is: ``` CircuitError: "Invalid param type for gate initialize_dg." ``` **To Reproduce**...
Currently PennyLane-Qiskit relies on the full `qiskit` library in its [requirements](https://github.com/PennyLaneAI/pennylane-qiskit/blob/00a47d27f944bfdd79fdc09e4008162059a5232e/setup.py#L24). Now that Qiskit is split into multiple sub-components, we can probably get away with just relying on certain components...
**Context:** Supports circuits with measurements composed of expectation values of multiple (commuting) Pauli words **Benefits:** Huge savings on the number of executions **Possible Drawbacks:** The change feels a bit hacked-in....
### Expected behavior Finite difference transform calculates gradient correctly ### Actual behavior Finite difference transform returns zero gradients ### Additional information - If `diff_method` is `"finite-diff"`, the gradient is returned...
[This](https://pennylane-sf.readthedocs.io/en/latest/devices/remote.html#accounts-and-tokens) section contains an outdated method of saving the Xanadu Cloud API token: ```python import strawberryfields as sf sf.store_account("my_token") ``` It should be updated to use the new XCC-based approach...
### Important Note ⚠️ This issue is not open for contributions. ⚠️ ### Feature details Version 0.36 of PennyLane includes a [`"default.qutrit.mixed"`](https://docs.pennylane.ai/en/latest/code/api/pennylane.devices.default_qutrit_mixed.DefaultQutritMixed.html) device that is capable of simulating [qutrit systems](https://pennylane.ai/qml/demos/tutorial_qutrits_bernstein_vazirani/)...
### Important Note ⚠️ This issue is not open for contributions. ⚠️ ### Feature details The [`default.clifford`](https://docs.pennylane.ai/en/stable/code/api/pennylane.devices.default_clifford.DefaultClifford.html) device allows PennyLane users to quickly simulate [Clifford circuits](https://en.wikipedia.org/wiki/Clifford_gates) in PennyLane using the...
### Important Note ⚠️ This issue is not open for contributions. ⚠️ ### Feature details The `from_qasm` function allows users to convert a [QASM2](https://arxiv.org/abs/1707.03429) string into a PennyLane quantum function...