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

Initialize should be composed of Resets + StatePreparation #6246

Closed
adjs opened this issue Apr 16, 2021 · 0 comments · Fixed by #7666
Closed

Initialize should be composed of Resets + StatePreparation #6246

adjs opened this issue Apr 16, 2021 · 0 comments · Fixed by #7666
Assignees
Labels
type: enhancement It's working, but needs polishing

Comments

@adjs
Copy link
Contributor

adjs commented Apr 16, 2021

What is the expected enhancement?

In #6236, we discussed the possibility of a StatePreparation class with no resets and a separate Initialize that uses resets + state-preparation. There is a related issue in #1896.

I raised the possibility to remove the resets in #6236 because an alternative to go from a state | a> to a state | b> is to apply the inverse of initialize |a> followed by initialize |b>. Another example of initialization without resets is a controlled initialization as in arXiv:1703.10793. In these cases, a gate StatePreparation should be used instead of an instruction Initialize with resets. The discussion in #1896 does not address these cases.

@adjs adjs added the type: enhancement It's working, but needs polishing label Apr 16, 2021
@javabster javabster self-assigned this Dec 15, 2021
@mergify mergify bot closed this as completed in #7666 Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement It's working, but needs polishing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants