CQCL / qujax

Simulating quantum circuits with JAX
https://cqcl.github.io/qujax/
Apache License 2.0
58 stars 10 forks source link

Parameterised observables? #79

Open SamDuffield opened 1 year ago

SamDuffield commented 1 year ago

It might be nice to have the ability to accept parameterised Hermitians in get_statetensor_to_sampled_expectation_func.

This could be done by accepted functions in the hermitian_seq_seq argument but will then also require an additional param_inds_seq argument.

SamDuffield commented 1 year ago

Although this might be outside of the scope of qujax as it moves away from circuits and what could be (easily) implemented on a real device.