quantumlib / Qualtran

Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
https://qualtran.readthedocs.io/en/latest/
Apache License 2.0
132 stars 35 forks source link

Migration of `NotImplementedError` in `BlockEncoding` to `abc.abstractmethod`. #1103

Open charlesyuan314 opened 3 days ago

charlesyuan314 commented 3 days ago

See #1094.

Some methods in the BlockEncoding interface raise NotImplementedError rather than being proper abstract methods because existing implementers of BlockEncoding do not support them.

When those existing implementers are updated to the new interface, these methods should be changed to abstract methods.