Open tanujkhattar opened 1 month ago
https://github.com/quantumlib/Qualtran/pull/907/files#diff-d7e11e9a89cbedc95f75813093320217796e881bbb0d0427216aea88e86c7755 reorganized the modular arithmetic bloqs. As part of the organization, AddConstantMod was renamed to ModAddK and cirq.ArithmeticGate was removed as a base class.
AddConstantMod
ModAddK
cirq.ArithmeticGate
This led to the bloqs not supporting simulation / tensor contraction anymore; which is bad because this bloq is used from PrepareHubbard and all other bloqs in the decomposition of hubbard model support simulation.
PrepareHubbard
We should fix this.
https://github.com/quantumlib/Qualtran/pull/907/files#diff-d7e11e9a89cbedc95f75813093320217796e881bbb0d0427216aea88e86c7755 reorganized the modular arithmetic bloqs. As part of the organization,
AddConstantMod
was renamed toModAddK
andcirq.ArithmeticGate
was removed as a base class.This led to the bloqs not supporting simulation / tensor contraction anymore; which is bad because this bloq is used from
PrepareHubbard
and all other bloqs in the decomposition of hubbard model support simulation.We should fix this.