Qualtran
Qualtran copied to clipboard
Incompatible dtypes in `QFTPhaseGradient`
QFTPhaseGradient
passes QFxp
to register result
of PlusEqualsProduct
, whose type is QUInt
. This isn't caught by the dtype checker for the bloq example.
https://github.com/quantumlib/Qualtran/blob/174b5493b36a14af3bf0b2c004411386ef972a61/qualtran/bloqs/qft/qft_phase_gradient.py#L82-L97
More discussion: https://github.com/quantumlib/Qualtran/pull/1197#pullrequestreview-2203127729
Related: #1069