Use Python without Q#
There are some processes that you can run on Azure Quantum that use Python without explicitly calling any Q# code, such as submitting Qiskit or Cirq circuits, or submitting optimization problems. To use these features, you must install the azure-quantum Python package.
Install the azure-quantum Python package
Install Python 3.6 or later if you haven't already.
Install PIP and ensure you have version 19.2 or higher.
Install the
azure-quantumpython package. Use the--upgradeflag to make sure to get the latest version.To install the
azure-quantumpackage without any optional dependencies, run:pip install --upgrade azure-quantumTo install the optional dependencies required for submitting Qiskit programs, install using the
[qiskit]tag:pip install --upgrade azure-quantum[qiskit]To install the optional dependencies required for submitting Cirq programs, install using the
[cirq]tag:pip install --upgrade azure-quantum[cirq]
Next steps
Feedback
Issottometti u ara feedback għal