Skip to content

RFC: removing qasm2.inline #173

Open
@Roger-luo

Description

@Roger-luo

now as we are moving towards squin as our high-level interface instead of qasm2.extended and given #150 and related issues where inline QASM seems causing confusions between Python linter and users. @weinbe58 proposed to remove the qasm2.inline command (+dialect) and instead for loading qasm files we alwayas recommend people to use QASM2 lowering transform to convert a QASM2 file into Method object then call the method object in a kernel (or execute directly).

I'm wondering if we are doing so, is there any other use case for a inline QASM2 command? I guess unlike inline ASM, QASM2 does not provide more low-level access to the hardware thus not very useful to have it inline?

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingbreaking changes or proposed changes that would break existing APIstriagerequest for triage. A decision will be made on the issue or PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions