Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Optimizer] Compress the circuit during search #150

Open
xumingkuan opened this issue Nov 21, 2023 · 0 comments
Open

[Optimizer] Compress the circuit during search #150

xumingkuan opened this issue Nov 21, 2023 · 0 comments

Comments

@xumingkuan
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant