Skip to content

Streaming circuits from QASM #153

@Maxschwarz55

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions