-
### Feature details
Add a template that can compare a provided integer $L$ with a basis state $\left|i\right>_n$ and flip a target qubit if $i\ge L$ or $i < L$ depending on a user-defined parameter:…
-
老哥
运行项目的时候 Devices是不是不能选择cuda
我看选用cuda后 optimizer.step()那边报错:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
量子微分是不是目前不能在gpu上 【基于p…
-
PennyLane now has a `qml.equal` function that is useful for comparing the equality of `Operator`'s.
We could extend this function to `MeasurementProcess` objects as well.
```pycon
>>> qml.equ…
-
### Expected behavior
The tape transform `single_qubit_fusion` always performs valid transforms, not changing the action of the tape.
### Actual behavior
For the following specific case, the …
-
This could be done with [`jupyter-book`](https://jupyterbook.org/intro.html), as discussed in the Mitiq meeting, which extends capabilities of `my-binder`.
-
#### Issue description
There is some issue with the initialization template for random layers `random_layers_normal` and `random_layers_uniform`. see the simple code below:
```python
import pen…
-
### Expected behavior
It would be nice to support the two-qubit unitary decomposition in JIT mode, which already works for the one-qubit decomposition. The issue is the use of if-statements that comp…
-
Hi,
some colleagues of mine and I noticed that the sampler backends do not receive batches. Instead, the backends evaluate the circuits individually. This seems very inefficient if one wants to run…
-
Currently we say that Lightning is compatible with a specific version of PennyLane or higher, specified [here](https://github.com/PennyLaneAI/pennylane-lightning/blob/e443bcff1041e766efa34498991c3504e…
-
**Describe the bug**
qml.sample() throws error when run on SV1 simulator . The task is however executed on aws simulator and generates the json.
```
----------------------------------------------…