-
y=tt.rand(2,11,3); yr=tt.reshape(y,[2,2**10]);
Error for ys=yr.round(1e-6)
Error for print(yr[1,1])
-
### Expected behavior
When using `PrepSelPrep` in a circuit, differentiation with autograd and torch should give the same result:
```python
import pennylane as qml
from pennylane import numpy …
-
#### Issue description
I use a pennylane circuit inside a torch model, which needs to be (deep)copied.
_**If I use the default.qubit device, everything works fine**_, but when I switch to a lightn…
-
### Expected behavior
I am trying to use the PyTorch interface to optimize a quantum circuit, and I have narrowed my bug down the the presence of the `PauliRot` gate. As an example, please see the…
-
| software | pydantic v1 only (API v1) [^1] | pydantic v1/v2 tolerant (API v1) | pydantic v2 only (API v2) |
|-----------------------|---------------------------|-------------------…
-
### Expected behavior
This code should work:
```
import pennylane as qml
@qml.qnode(qml.device('default.qubit',wires=[0]))
def circ():
qml.qsvt([1],[0], wires=[0],convention='Wx')
retur…
-
Dear All
I computed dipole moment for CO molecule with CCSD unrelaxed density matrix
and able to get correct numbers. When I tried to compute dipole moment for
the same molecule with CCSD(T) unre…
-
### Expected behavior
`BasisEmbedding`'s decomp should match `BasisStatePreparation`.
### Actual behavior
It provides the wrong decomp.
### Additional information
_No response_
### Source code
…
-
### Expected behavior
I am running the example of [shadow_expval](https://docs.pennylane.ai/en/stable/code/api/pennylane.shadows.shadow_expval.html#pennylane.shadows.shadow_expval)
As per docu…
-
The purpose of this issue is to suggest building a "component" for auto_martini (dubbed `mmic_ffpa_autom`) that makes it part of the [MMIC](https://mm-portal.netlify.app/mmic) ecosystem [MolSSI](http:…