Skip to content

Create a Bloq that represents initialization in the Coset representation #1602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

NoureldinYosri
Copy link
Contributor

@NoureldinYosri NoureldinYosri commented Mar 25, 2025

This the PR in a series of PRs that reproduce https://arxiv.org/abs/1905.09749

In How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits they work in the Coset represntation rather than the computational basis representation ... this is done by

  1. Instead of initializing the target register of modular exponentation in the state $\ket{1}$ they initialize it in the coset representation of $1$.
  2. Instead of doing ModAdd either directly (or indirectly in multiplication) they do normal addition (well actually an approximation of normal addition)

\frac{1}{\sqrt{2^{c_{pad}}}}\sum_{j=0}^{2^{c_{pad}}} \ket{jN + k}
$$

This bloq can be built of only clifford gates ... namely $c_{pad}$ `H` gates on the padding
Copy link
Collaborator

Choose a reason for hiding this comment

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

comma instead of ellipses (...)

$$

This bloq can be built of only clifford gates ... namely $c_{pad}$ `H` gates on the padding
qubitsfollowed by `CNOT` gates implementing the reversible operation $jN+k$.
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing space

Comment on lines +51 to +54
- [Shor's algorithm with fewer (pure) qubits](https://arxiv.org/abs/quant-ph/0601097)
section 4.
- [How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits](https://arxiv.org/abs/1905.09749)
section 2.4
Copy link
Collaborator

Choose a reason for hiding this comment

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

reference format: use newline to separate entries. Don't use -. Include author and year

@mpharrigan
Copy link
Collaborator

did you consider making a new QDType?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants