Skip to content

Conversation

@charlesyuan314
Copy link
Contributor

@charlesyuan314 charlesyuan314 commented Jun 27, 2024

Add instances of BlockEncoding that implement 1) a trivial block encoding of a unitary operator and 2) a tensor product of block encodings.

Extend the BlockEncoding interface to expose the properties alpha, ancilla_bitsize, and epsilon of block encodings.

With the newly designed block encoding interface, the selection_registers, junk_registers, and target_registers methods should now be considered deprecated and will be removed in a future PR.

Copy link
Collaborator

@tanujkhattar tanujkhattar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start, left a round of comments.

Copy link
Collaborator

@tanujkhattar tanujkhattar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the changes!

Please open issues to track

  • Migration of NotImplementedError to abc.abstractmethods.
  • Implementation of signal_state for the newly added block encodings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants