This Python program performs a resource estimation for a QIR program using Azure Quantum Resource Estimator.
The tool requires the azure-quantum
and pyqir-generator
libraries in the
following version. You can for example use conda to set this up:
conda create -y -n estimation-cli -c conda-forge python=3.7
conda activate estimation-cli
python -m pip install azure-quantum==0.27.238334
python -m pip install pyqir-generator==0.6.2
You can run the program as follows:
python estimate.py -r <Azure-Quantum-Resource-Id> -l <Azure-Quantum-Location> program.qir
where <Azure-Quantum-Resource-Id>
and <Azure-Quantum-Location>
is information
about your Azure Quantum workspace that can be obtained from its overview page.