pennylane
pennylane copied to clipboard
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.
**This is an issue created to make a live demo at the in-person QHack event** As can be seen on the [web](https://docs.pennylane.ai/en/stable/code/api/pennylane.GroverOperator.html). The tensor notation is very large. It would...
### Expected behavior I'd expect to get the same answer as when the `AmplitudeEmbedding` with null behavior is removed. In an ideal world, a gradient transform would be able to...
**Context:** When applying a `gradient_transform` to a QNode, the QNode wrapper makes use of the function `_contract_qjac_with_cjac` to contract the quantum and classical Jacobians with each other. Here, the classical...
### Expected behavior I am trying to use this code to caculate for one tensor with dimension 4D (e.x. (32,32,128,2)) ### Actual behavior However, It alway appears error "pennylane.wires.WireError: Cannot...
**Context:** The benchmarks workflow now use the self-hosted benchmark runner **Description of the Change:** The GitHub hosted runner is not very consistent with collecting accurate times. A dedicated benchmarking runner...
------------------------------------------------------------------------------------------------------------ **Context: I made corrections of typos in comments in code.** **Description of the Change: I made spelling and grammar correction in comments. I am unfamiliar with making pull request,...
### Feature details ⚠️ This issue is part of an internal assignment and not meant for external contributors. The [Fast Approximate BLock-Encodings](https://arxiv.org/abs/2205.00081) (FABLE) algorithm is an efficient method to block...
### Expected behavior When installing a specific version of pennylane and pennylane-lightning with pip I expect them to "just work". ### Actual behavior When I pip install pennylane v0.32 like...
### Expected behavior I expect to be able to run the below code sample without error. The answer should be the same as the non-jit alternative. ### Actual behavior I...
We currently have a page to describe how to develop a new plugin. With the addition of the new Device API, we need to update that page.