Skip to content

[Optimizer] Compress the circuit during search #150

@xumingkuan

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.

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