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

Ancilla macro #116

Open
gyu-don opened this issue Mar 14, 2021 · 0 comments
Open

Ancilla macro #116

gyu-don opened this issue Mar 14, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@gyu-don
Copy link
Contributor

gyu-don commented Mar 14, 2021

with c.ancilla() as a:
  c.cx[0, a[0]]
  c.cx[0, a[0]]

with c.ancilla(pos=4, stop=6, reset=True) as a:
  c.cx[3, a[0]]
@gyu-don gyu-don added the enhancement New feature or request label Mar 14, 2021
@gyu-don gyu-don added this to the 0.4.3 milestone Apr 2, 2021
@gyu-don gyu-don modified the milestones: 0.4.3, 0.4.4 May 21, 2021
@gyu-don gyu-don modified the milestones: 0.4.4, 0.4.5 Jun 10, 2021
@gyu-don gyu-don modified the milestones: 0.4.5, 0.4.6 Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant