Skip to content

Conversation

@charlesyuan314
Copy link
Contributor

@charlesyuan314 charlesyuan314 commented Jul 19, 2024

This bloq enables us to block encode a square matrix given its entries as a classical NDArray, when used with the SparseMatrix block encoding and the FullRowColumnOracle.

Caveats: this is mostly for prototyping and testing, as real algorithms should compute their entries more efficiently. Under the hood, this bloq depends on QROM and quantum variable rotations to a rather high degree of precision.

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

nice!

@charlesyuan314 charlesyuan314 enabled auto-merge (squash) July 22, 2024 22:52
@charlesyuan314 charlesyuan314 merged commit 0db17f0 into quantumlib:main Jul 22, 2024
@charlesyuan314 charlesyuan314 deleted the oracles branch July 30, 2024 20:01
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.

3 participants