Skip to content

Make async qnodes specific to qnodes, not the whole JIT context. #438

Open
@erick-xanadu

Description

@erick-xanadu

Instead of the async flag specifying async for all qnodes in the JIT context, we could have an async flag for specific qnodes if we move the flag to the qnode. E.g.,

Change:

@qjit(async_qnodes=True)
def jit_context():
  ...

To:

@qnode(async=True)
def circuit():
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions