pennylane icon indicating copy to clipboard operation
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.

Results 534 pennylane issues
Sort by recently updated
recently updated
newest added

### Feature details Currently the [QPE](https://pennylane.readthedocs.io/en/stable/code/api/pennylane.QuantumPhaseEstimation.html) template only supports operator pass-through as a matrix. It would be useful to be able to pass a quantum function and not have to...

enhancement :sparkles:

Currently, there is a comment on the counts measurement process about differentiability. ![image](https://user-images.githubusercontent.com/43949391/184201365-bee538de-21f4-4f9d-b7dd-df1d27e89799.png) There are actually a lot of scenarios where it is desirable to have a loss function defined...

Now when using `qml.counts` with `shots=None` we get the following error: ```python dev = qml.device("default.qubit", wires=1) @qml.node(dev) def circuit(): return qml.counts() ``` ``` pennylane.QuantumFunctionError: The number of shots has to...

Ideally, when a user wants to return counts but forgets to set counts, the error message would point to that. Currently the error message is somewhat cryptic: ```python dev =...

**Context:** sample and counts are measurement processes which admit a special syntax: `sample()`, `counts()`. We interpret this syntax to mean "return computational basis samples or counts". However, this measurement is...

Add [pytest-randomly](https://pypi.org/project/pytest-randomly/1.2.3/) to requirements. This plugin randomly shuffles the order of test items. This is done first at the level of modules, then at the level of test classes and...

**Context:** The ability to compute the counts of outcomes from raw samples has recently been added to PennyLane (https://github.com/PennyLaneAI/pennylane/pull/2876 https://github.com/PennyLaneAI/pennylane/pull/2686 https://github.com/PennyLaneAI/pennylane/pull/2839). The output of the new measurement is a dictionary...

### Feature details The #2110 PR is adding a custom `InterfaceUnsupportedError` that is being used with features unsupported by the JAX interface. It would come as a next step to:...

enhancement :sparkles:
WIP :construction:

### Feature details We have a leftover `supports_reversible_diff` key in device capabilities. This is a remnant of an earlier implementation and can be removed from the code base. The logic...

enhancement :sparkles:
WIP :construction: