Conversation
…d statevecs and densmats, and both permutePaulis options
|
Bloody quad precision. I suspect calculating exponents is the underlying culprit here. We're probably checking against an overly optimistic absolute error in these. Will tweak it up for these tests. |
|
Ah, I see |
|
Okay, when tested locally all quad precision configurations failed, so I've applied the epsilon increase for all deployments, not just single-threaded. |
…on imaginary time evolution tests
…d destroying temp caches (which I guess makes them not caches?) with a set number of qubits
…across deployments
… number of steps to admit the possibility of testing density matrices too
|
Hi @TysonRayJones, hopefully this version of the Trotter tests sparks joy! We're now using a bit more of the general QuEST testing machinery, and testing across deployments. The unitary time evo tests are a bit trickier, as I really can't think of a way to do that that doesn't involve fixed numbers of qubits, but again I've updated them to work across deployments and test on density matrices as well as statevectors. |
|
Wew amazing! 🎉 🎉 I'll do a micro change to the var-names in Note in quad-precision and with multithreading on my machine, I get a failure: Happy to just bump both epsilons by Finally, these tests are (relatively) slow, and we may wish to avoid them in paid CI runners (if they hypothetically return) since the trotter functions just call separately tested backend functions; they are ergo "backend agnostic". So we don't actually have to run these tests cross-platform to know they'll pass (although I'd so for rigour if time was free, of course). I'll add a flag to the github workflows to skip trotter tests in the paid CI |
|
All sounds good to me, thanks Tyson! |
to lazily pass CPU clang quad-precision
|
@otbrown this is ready to merge if you're happy with my changes above |
Resolves #715