C2QA / bosonic-qiskit

Extension of Qiskit to support hybrid boson-qubit simulations for the NQI C2QA effort.
BSD 2-Clause "Simplified" License
44 stars 8 forks source link

Selectively discretize #94

Closed tjstavenger-pnnl closed 1 year ago

tjstavenger-pnnl commented 1 year ago

The test I've added directly calls the function we use to discretize the params. I should add a test that builds an animation that verifies it works there, too.

tjstavenger-pnnl commented 1 year ago

The test I've added directly calls the function we use to discretize the params. I should add a test that builds an animation that verifies it works there, too.

I added an animation test, though it isn't really automated (it doesn't assert anything). I did put a breakpoint in the __calculate_segment_params and found it to be called as expected for the cv_c_schwinger gate.