Olivia Di Matteo
Olivia Di Matteo
> @glassnotes Hopefully works now. I've left some comments about the implementation, which is just done by analogy with the state-vector calculators. Not sure if everything is theoretically consistent though....
I took a closer look at this (as the original author, I feel responsible for the issues here! :sweat_smile:). I tried with/without the small perturbation in precision that was added...
Perhaps a simple check like ```python if qml.math.isclose(np.sin(theta), 0): theta = np.pi ``` in those angle extraction functions would be useful for "resetting" things that are close-to-multiples-of-pi to pi? It...
Right, of course... :woman_facepalming: