Skip to content

Streaming circuits from QASM #153

Description

@Maxschwarz55

I was wondering if there is any way I can pipe LLI instructions from a QASM circuit into an instance of the compiler. For example, I tried a command like this:
/liblsqecc/build/lsqecc_slicer \ -q -i "${CIRCUIT_NAME}.qasm" \ -l "${ARCH_NAME}.txt" \ --printlli before \ | /liblsqecc/build/lsqecc_slicer \ -l "${ARCH_NAME}.txt" \ --disttime 1 \ --nostagger \ --local \ -P wave \ --noslices \ -o "${OUT_PATH}" \ -f stats

My hope was to convert QASM instructions to LLI instructions on the left side of the pipe, and then run the slicer on those directly. Trying this results in the following error message:
terminate called after throwing an instance of 'std::runtime_error' what(): First instruction must be qubit declaration Aborted (core dumped)

Any advice on how to do something like this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions