Skip to content

Ancilla macro #116

@gyu-don

Description

@gyu-don
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]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions