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

BasisTranslator, Decompose, BarrierBeforeFinalMeasurements, DAGFixedPoint using a lot of memory #7485

Open
ewinston opened this issue Jan 6, 2022 · 0 comments
Labels
type: enhancement It's working, but needs polishing

Comments

@ewinston
Copy link
Contributor

ewinston commented Jan 6, 2022

What is the expected enhancement?

Running some transpiler passes for growing number circuit sizes scales reasonably however in some cases the absolute value seems rather large. The circuits in this case are random circuits of equal width and depth.

Python's tracemalloc is used to track peak memory usage during the pass. BasisTranslator, Decmpose, and DAGFixedPoint seem to use around 1 GB of peak memory by the time width=depth=1024. BarrierBeforeFinalMeasurements uses somewhat less memory but seems excessive considering the pass.

image

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement It's working, but needs polishing
Projects
None yet
1 participant