Qualtran icon indicating copy to clipboard operation
Qualtran copied to clipboard

Update lcu_util to allow user to specify sub_bit_precision

Open kjm538 opened this issue 11 months ago • 2 comments

Can preprocess_lcu_coefficients_for_reversible_sampling be updated to allow the user to input epsilon or sub_bit_precision? Sometimes it is preferable to specify the number of precision bits explicitly.

kjm538 avatar Mar 18 '24 14:03 kjm538

I don't see why not. In the notebooks I believe we often set epsilon to be $2^{-n_b}$ directly, but it might be a bit more convenient to make this an optional input too.

fdmalone avatar Mar 21 '24 05:03 fdmalone

@Vicara12 Can you take a look?

tanujkhattar avatar Apr 04 '24 18:04 tanujkhattar