Skip to content

[Optimizer] Compress the circuit during search #150

Description

@xumingkuan

Currently, the queue of circuits takes up a lot of memory during the search.

Both CircuitSeq and Graph stores a lot of information for easier processing of the circuit. But we only need the minimal information necessary to construct the circuit, like a QASM file. We only need the gate type, qubit indices, and param indices for each gate. We can compress the circuit before pushing it into the queue and decompress it upon popping out of the queue.

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