|
2 | 2 |
|
3 | 3 | # Azure Quantum # |
4 | 4 |
|
5 | | -[/_apis/build/status/microsoft.qdk-python?branchName=main)](https://dev.azure.com/ms-quantum-public/Microsoft%20Quantum%20(public)/_build/latest?definitionId=32&branchName=main) [](https://badge.fury.io/py/azure-quantum) |
| 5 | +[](https://badge.fury.io/py/azure-quantum) |
6 | 6 |
|
7 | | -Azure Quantum is Microsoft's cloud service for running Quantum Computing programs and circuits with our quantum partners and technologies. The `azure-quantum` package for Python provides functionality for interacting with Azure Quantum workspaces, including creating jobs, listing jobs, and retrieving job results. For more information, view the [Azure Quantum Documentation](https://learn.microsoft.com/en-us/azure/quantum/). |
| 7 | +Azure Quantum is Microsoft's cloud service for running Quantum Computing programs. The `azure-quantum` package for Python provides functionality for interacting with Azure Quantum workspaces, including creating jobs, listing jobs, and retrieving job results. For more information, view the [Azure Quantum Documentation](https://learn.microsoft.com/en-us/azure/quantum/). |
8 | 8 |
|
9 | 9 | This package supports submitting quantum programs or circuits written with Python. To submit quantum programs written with Q#, Microsoft's Domain-specific language for Quantum Programming, view [Submit Q# Jobs to Azure Quantum](https://learn.microsoft.com/azure/quantum/how-to-submit-jobs). |
10 | 10 |
|
11 | 11 | ## Installation ## |
12 | 12 |
|
13 | 13 | The package is released on PyPI and can be installed via `pip`: |
14 | 14 |
|
15 | | -```bash |
16 | | -pip install azure-quantum |
17 | | -``` |
18 | | - |
19 | | -To use `azure-quantum` for submitting quantum circuits expressed with [Qiskit](https://pypi.org/project/qiskit), install with optional dependencies: |
20 | | - |
21 | | -```bash |
22 | | -pip install azure-quantum[qiskit] |
23 | | -``` |
24 | | - |
25 | | -To use `azure-quantum` for submitting quantum circuits expressed with [Cirq](https://pypi.org/project/cirq), install with optional dependencies: |
26 | | - |
27 | | -```bash |
28 | | -pip install azure-quantum[cirq] |
29 | | -``` |
| 15 | +- For default installation - `pip install azure-quantum` |
| 16 | +- Submit quantum circuits written in [Q#](https://pypi.org/project/qsharp) - `pip install azure-quantum[qsharp]` |
| 17 | +- Submit quantum circuits written in [Qiskit](https://pypi.org/project/qiskit) - `pip install azure-quantum[qiskit]` |
| 18 | +- Submit quantum circuits written in [Cirq](https://pypi.org/project/cirq) - `pip install azure-quantum[cirq]` |
30 | 19 |
|
31 | 20 | ## Getting started and Quickstart guides ## |
32 | 21 |
|
@@ -77,49 +66,7 @@ result = job.get_results() |
77 | 66 |
|
78 | 67 | ## Examples ## |
79 | 68 |
|
80 | | -You can find example Python scripts that use the Azure Quantum Python API in the [examples](https://github.com/microsoft/qdk-python/tree/main/azure-quantum/examples) directory. |
81 | | - |
82 | | -## Development Setup ## |
83 | | - |
84 | | -For developers who want to contribute to this package or run tests locally, follow these steps: |
85 | | - |
86 | | -### Prerequisites |
87 | | - |
88 | | -- Python 3.9 or later |
89 | | -- Git |
90 | | -- Powershell |
91 | | - |
92 | | -### Setting up the development environment |
93 | | - |
94 | | -1. Clone the repository: |
95 | | - ```bash |
96 | | - git clone https://github.com/microsoft/qdk-python.git |
97 | | - cd qdk-python/azure-quantum |
98 | | - ``` |
99 | | - |
100 | | -2. Set up a virtual environment and install development dependencies: |
101 | | - ```powershell |
102 | | - # On Windows (PowerShell) |
103 | | - .\eng\Setup-Dev-Env.ps1 |
104 | | - ``` |
105 | | - |
106 | | -3. Run the tests: |
107 | | - ```bash |
108 | | - pytest tests/unit/ |
109 | | - ``` |
110 | | - |
111 | | -4. (Optional) Install additional provider dependencies: |
112 | | - ```bash |
113 | | - # For specific providers |
114 | | - pip install -e .[pulser,quil] |
115 | | - |
116 | | - # For all providers (requires Rust toolchain for PyQuil) |
117 | | - pip install -e .[all] |
118 | | - ``` |
119 | | - |
120 | | -### Running Tests |
121 | | - |
122 | | -The development environment includes pytest for running unit tests. See [tests/README.md](tests/README.md) for detailed testing instructions. |
| 69 | +You can find example Python scripts that use the Azure Quantum Python API in the [samples](https://github.com/microsoft/azure-quantum-python/tree/main/samples) directory. |
123 | 70 |
|
124 | 71 | ## Contributing ## |
125 | 72 |
|
|
0 commit comments