This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Can we speed up ResourcesEstimator / QCTraceSimulator? #1028
Labels
enhancement
New feature or request
Please describe what you would like the feature to accomplish.
Q# is probably one of the most promising tools for resource estimation of FT algorithms. However, from an initial assessment, it looks like the built-in resource estimator is not scalable for counting T-gates above O(millions).
For example, running the GetGateCount example on my machine, it takes ~2.2 hours to run resource estimation for a Qubitization step doing ~34 million T gates.
IIUC, the
QCTraceSimulator
does not do any caching on the edges of the callgraph; i.e. each edge of the graph is traversed every time the target operation is invoked with a new set of parameters. This is important to give precise resource estimates, because the set of parameters can determine the gate complexity of the method, but this is also probably why it's so slow?Describe the solution you'd like
It would be great if we can figure out a way so that the resource estimator scales to O(billions) / O(trillions) of T gates.
Some concrete questions I have are as follows:
cc @NoureldinYosri @mpharrigan
The text was updated successfully, but these errors were encountered: