Skip to content

support gate routine in qasm2.load #298

@Roger-luo

Description

@Roger-luo

in the old implementation we support loading QASM2 string via qasm2.inline statement, which makes sense not supporting loading subroutine. However, now since we load the string directly via a separate entry and generate a corresponding ir.Method, we should support gate subroutine by generating the corresponding ir.Method and invoke it inside the main generate ir.Method.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority: mediummedium priority, default priorityqasm2qasm2 related issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions