The implementation for the Resource Estimator is broken up into two major components:
- counts - performs program execution tracing to capture the logical qubit and gate counts for the given program
- estimates - takes in logical counts and a configuration to produce the set of corresponding physical resource estimates
For more information about the Azure Quantum Resource Estimator, see the official documentation.
The theoretical models used in Azure Quantum Resource Estimator are described in Beverland at al. "Assessing requirements to scale to practical quantum advantage".
In the examples directory we show how to perform custom resource estimation tasks, by directly using the crate. Note however, that we do not guarantee that there are no breaking changes even among minor releases. We advise to specify the depedency location to the resource estimator crate by pointing to a specific release tag or commit hash (see The Cargo Book for more details):
resource_estimator = { git = "https://github.com/microsoft/qsharp.git", tag = "<tag>" }
# ...
resource_estimator = { git = "https://github.com/microsoft/qsharp.git", rev = "<commit_hash>" }