[Bug] dtype promotion to complex128
with tensorflow SProds _only_ in pauli_rep
#5245
Labels
bug 🐛
Something isn't working
We are currently promoting the dtype of tensorflow variables in the pauli rep of scalar products, this leads to some unexpected and inconsistent behavior, e.g.
This problem stems from this line https://github.com/PennyLaneAI/pennylane/blob/master/pennylane/ops/op_math/sprod.py#L152
The text was updated successfully, but these errors were encountered: