Skip to content
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

Update limitations.md #5

Closed
wants to merge 1 commit into from
Closed

Update limitations.md #5

wants to merge 1 commit into from

Conversation

mstechly
Copy link
Contributor

@mstechly mstechly commented May 2, 2024

No description provided.

## Repeated subroutines

Currently bartiq does not support a case where a particular subroutine is repeated multiple times, which is a common case in many algorithms, such as trotterization. It is definitely an important feature which will be added in future releases.
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't strictly true. In the case where the routine acts on the same registers, you can definitely reproduce this effect by having a "repeat" routine that wraps the iterated routine. The real trouble however occurs with things like recursive definitions, like QFT, or for iterations which target different rails, such as in QPE's CU's (where you have to effectively control on the whole phase register).

So I'd suggest updating this to clarify this subtlety.

@mstechly mstechly closed this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants