azure-quantum 0.30.0__py3-none-any.whl → 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. azure/quantum/_client/_version.py +1 -1
  2. azure/quantum/cirq/service.py +7 -0
  3. azure/quantum/cirq/targets/quantinuum.py +1 -1
  4. azure/quantum/job/job.py +15 -1
  5. azure/quantum/qiskit/backends/backend.py +130 -35
  6. azure/quantum/qiskit/backends/ionq.py +65 -5
  7. azure/quantum/qiskit/backends/qci.py +35 -2
  8. azure/quantum/qiskit/backends/quantinuum.py +25 -4
  9. azure/quantum/qiskit/backends/rigetti.py +8 -1
  10. azure/quantum/qiskit/job.py +7 -16
  11. azure/quantum/qiskit/provider.py +18 -2
  12. azure/quantum/target/ionq.py +37 -12
  13. azure/quantum/target/microsoft/elements/dft/target.py +13 -1
  14. azure/quantum/target/microsoft/target.py +36 -9
  15. azure/quantum/target/params.py +1 -1
  16. azure/quantum/target/pasqal/target.py +16 -2
  17. azure/quantum/target/quantinuum.py +34 -9
  18. azure/quantum/target/rigetti/target.py +15 -2
  19. azure/quantum/target/solvers.py +7 -1
  20. azure/quantum/target/target.py +82 -0
  21. azure/quantum/target/target_factory.py +0 -2
  22. azure/quantum/version.py +1 -1
  23. azure/quantum/workspace.py +11 -8
  24. {azure_quantum-0.30.0.dist-info → azure_quantum-1.0.0.dist-info}/METADATA +3 -5
  25. {azure_quantum-0.30.0.dist-info → azure_quantum-1.0.0.dist-info}/RECORD +27 -55
  26. azure/quantum/_client/aio/__init__.py +0 -23
  27. azure/quantum/_client/aio/_client.py +0 -124
  28. azure/quantum/_client/aio/_configuration.py +0 -89
  29. azure/quantum/_client/aio/_patch.py +0 -20
  30. azure/quantum/_client/aio/operations/__init__.py +0 -29
  31. azure/quantum/_client/aio/operations/_operations.py +0 -1291
  32. azure/quantum/_client/aio/operations/_patch.py +0 -20
  33. azure/quantum/aio/__init__.py +0 -14
  34. azure/quantum/aio/_authentication/__init__.py +0 -9
  35. azure/quantum/aio/_authentication/_chained.py +0 -94
  36. azure/quantum/aio/_authentication/_default.py +0 -212
  37. azure/quantum/aio/_authentication/_token.py +0 -81
  38. azure/quantum/aio/job/__init__.py +0 -1
  39. azure/quantum/aio/job/base_job.py +0 -326
  40. azure/quantum/aio/job/job.py +0 -104
  41. azure/quantum/aio/optimization/__init__.py +0 -11
  42. azure/quantum/aio/optimization/online_problem.py +0 -17
  43. azure/quantum/aio/optimization/problem.py +0 -102
  44. azure/quantum/aio/optimization/streaming_problem.py +0 -280
  45. azure/quantum/aio/storage.py +0 -390
  46. azure/quantum/aio/target/__init__.py +0 -19
  47. azure/quantum/aio/target/ionq.py +0 -47
  48. azure/quantum/aio/target/quantinuum.py +0 -47
  49. azure/quantum/aio/target/solvers.py +0 -96
  50. azure/quantum/aio/target/target.py +0 -68
  51. azure/quantum/aio/target/target_factory.py +0 -72
  52. azure/quantum/aio/target/toshiba.py +0 -6
  53. azure/quantum/aio/workspace.py +0 -337
  54. {azure_quantum-0.30.0.dist-info → azure_quantum-1.0.0.dist-info}/WHEEL +0 -0
  55. {azure_quantum-0.30.0.dist-info → azure_quantum-1.0.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-quantum
3
- Version: 0.30.0
3
+ Version: 1.0.0
4
4
  Summary: Python client for Azure Quantum
5
5
  Home-page: https://github.com/microsoft/azure-quantum-python
6
6
  Author: Microsoft
@@ -16,8 +16,6 @@ Requires-Dist: azure-storage-blob <13.0.0,>=12.14.1
16
16
  Requires-Dist: msrest <1.0,>=0.7.1
17
17
  Requires-Dist: numpy <2.0,>=1.21.0
18
18
  Requires-Dist: deprecated <2.0,>=1.2.12
19
- Requires-Dist: aiohttp <4.0,>=3.7.0
20
- Requires-Dist: aiofile <4.0,>=3.7.2
21
19
  Requires-Dist: Markdown >=3.4.1
22
20
  Requires-Dist: python-markdown-math >=0.8
23
21
  Provides-Extra: all
@@ -31,7 +29,7 @@ Requires-Dist: qiskit-terra <0.25.0,>=0.19.1 ; extra == 'all'
31
29
  Requires-Dist: qiskit-qir <0.5,>=0.4 ; extra == 'all'
32
30
  Requires-Dist: Markdown <4.0,>=3.4.1 ; extra == 'all'
33
31
  Requires-Dist: python-markdown-math <1.0,>=0.8.0 ; extra == 'all'
34
- Requires-Dist: qsharp <=1.0,>=0.28.263081 ; extra == 'all'
32
+ Requires-Dist: qsharp <2.0,>=1.0.33 ; extra == 'all'
35
33
  Requires-Dist: pyquil >=3.3.2 ; extra == 'all'
36
34
  Provides-Extra: cirq
37
35
  Requires-Dist: cirq-core <=1.2.0,>=1.1.0 ; extra == 'cirq'
@@ -47,7 +45,7 @@ Requires-Dist: qiskit-qir <0.5,>=0.4 ; extra == 'qiskit'
47
45
  Requires-Dist: Markdown <4.0,>=3.4.1 ; extra == 'qiskit'
48
46
  Requires-Dist: python-markdown-math <1.0,>=0.8.0 ; extra == 'qiskit'
49
47
  Provides-Extra: qsharp
50
- Requires-Dist: qsharp <=1.0,>=0.28.263081 ; extra == 'qsharp'
48
+ Requires-Dist: qsharp <2.0,>=1.0.33 ; extra == 'qsharp'
51
49
  Provides-Extra: quil
52
50
  Requires-Dist: pyquil >=3.3.2 ; extra == 'quil'
53
51
 
@@ -1,7 +1,7 @@
1
1
  azure/quantum/__init__.py,sha256=NOaWt1VnPvQXbBsbtG8veadtp6LwBws9F1Rpla9kMAQ,414
2
2
  azure/quantum/storage.py,sha256=_4bMniDk9LrB_K5CQwuCivJFZXdmhRvU2b6Z3xxXw9I,12556
3
- azure/quantum/version.py,sha256=j5al6XOFE4ns1nPZNt7VVi4KSJUchg9GZi25d-YOEcE,236
4
- azure/quantum/workspace.py,sha256=jedua4hNPcl69fOvKYRg7N_m7R_EMP9EFQY9DcrOOeE,19134
3
+ azure/quantum/version.py,sha256=USnbflmJfvefA1OeZUQSCHFUHh373afdIwFZYc9gpjE,235
4
+ azure/quantum/workspace.py,sha256=RPjt5Jm7npxMCmzf2sMfF8-YUXhpYGMh0ivR98lYLYY,19180
5
5
  azure/quantum/_authentication/__init__.py,sha256=bniNZlS0hMIjO_y7DevGBAS6MixyA5pbPHcdGipUWM4,236
6
6
  azure/quantum/_authentication/_chained.py,sha256=bs4w7auiCoRaNB0f86yAQU04Jgmd8VcKfy1wWmUxt6Q,5047
7
7
  azure/quantum/_authentication/_default.py,sha256=efU7o2yqsm7TJ88H6LEP2IZYL0Wj7cqcEmXv_rvELKo,10502
@@ -12,14 +12,7 @@ azure/quantum/_client/_configuration.py,sha256=bPbYqPE6tVIH1ApQ0X5GybMykYQs-hu2i
12
12
  azure/quantum/_client/_patch.py,sha256=YTV6yZ9bRfBBaw2z7v4MdzR-zeHkdtKkGb4SU8C25mE,694
13
13
  azure/quantum/_client/_serialization.py,sha256=CMxjYOWCILsk7kozMUGRsyeKUw-tkxI_k0EvYkqQZKU,80832
14
14
  azure/quantum/_client/_vendor.py,sha256=h8ByiyZ4cCQyFxqnuhTQdv1Rms3dVjKsrgZDzwMcSJ0,996
15
- azure/quantum/_client/_version.py,sha256=fXB5DkIDnJDJz15ILif9D06Axd8pVvnYLHiO-Xrz-LI,496
16
- azure/quantum/_client/aio/__init__.py,sha256=r0S8arb5kqUXLSxN9P753lHQFc8aWyiZ6wshV3cNc0Y,840
17
- azure/quantum/_client/aio/_client.py,sha256=A2LBc5GRUWF2GmhpyE5wfYdEdcJ9mv26dzizbls854Y,6010
18
- azure/quantum/_client/aio/_configuration.py,sha256=6-TUFs0e-1CzyvdWetnjTxz9dyDAl2Rfsvk6NgO5lTs,4487
19
- azure/quantum/_client/aio/_patch.py,sha256=YTV6yZ9bRfBBaw2z7v4MdzR-zeHkdtKkGb4SU8C25mE,694
20
- azure/quantum/_client/aio/operations/__init__.py,sha256=1mIl1WjHa-yFdX45TZayC1JfYeEPj5v7E2i7vck69qM,1154
21
- azure/quantum/_client/aio/operations/_operations.py,sha256=unGYlUq6Fd3V0WiD-t8ShCu8DzpOs-56kRLaJ-UdrzM,54215
22
- azure/quantum/_client/aio/operations/_patch.py,sha256=YTV6yZ9bRfBBaw2z7v4MdzR-zeHkdtKkGb4SU8C25mE,694
15
+ azure/quantum/_client/_version.py,sha256=Aye83QhY0bPXB7xBHMXVazHzgZeZMD2rJwdT3BGd6QE,495
23
16
  azure/quantum/_client/models/__init__.py,sha256=c1PRpzNsQTcDk4GkrFMMIlwNQQa2c0p5N0Lzd-23YBA,2100
24
17
  azure/quantum/_client/models/_enums.py,sha256=omj_B8_E8ONzTHg5hLgDlFYibRRbdr9sEN298im_otA,2977
25
18
  azure/quantum/_client/models/_models.py,sha256=LxIEord6GsqPbFqS4TWWqxVL9w7-TbsbVhsaUGwyP9M,41802
@@ -27,41 +20,20 @@ azure/quantum/_client/models/_patch.py,sha256=YTV6yZ9bRfBBaw2z7v4MdzR-zeHkdtKkGb
27
20
  azure/quantum/_client/operations/__init__.py,sha256=1mIl1WjHa-yFdX45TZayC1JfYeEPj5v7E2i7vck69qM,1154
28
21
  azure/quantum/_client/operations/_operations.py,sha256=qEsFFyPozfw384AV8EkDQJKiKG2Q8NRb4GoDYqKRpqQ,75919
29
22
  azure/quantum/_client/operations/_patch.py,sha256=YTV6yZ9bRfBBaw2z7v4MdzR-zeHkdtKkGb4SU8C25mE,694
30
- azure/quantum/aio/__init__.py,sha256=xLzcHKlh27bfXlV2WNNOQmpYinGKijNmvVsOlLeQU98,360
31
- azure/quantum/aio/storage.py,sha256=PNz3mSYIRNdY2HIG7OYKS7ffBWmQDNvwU8le4WAbgMY,12953
32
- azure/quantum/aio/workspace.py,sha256=GTzVZrylXcbiUv2neMqgXopHwqdNVt6msApWvTz-Q9g,13507
33
- azure/quantum/aio/_authentication/__init__.py,sha256=bniNZlS0hMIjO_y7DevGBAS6MixyA5pbPHcdGipUWM4,236
34
- azure/quantum/aio/_authentication/_chained.py,sha256=3PilpuCMoBmoaJuuPebPCSS5Gghxqgj3vYOwuW6I6_I,4647
35
- azure/quantum/aio/_authentication/_default.py,sha256=LTANt431dLbBY0Xfy7tK_2p9sgR6Gp0hpCa_QR7ILJU,10430
36
- azure/quantum/aio/_authentication/_token.py,sha256=nrCkCMIO-3peumPXzYbDHcD0u-Yx9XKqkfoQcJqtSWs,3632
37
- azure/quantum/aio/job/__init__.py,sha256=fQaVTTWISoCeUcvOml5UpBfwKThQzRXZNvZ_cu7DxB8,43
38
- azure/quantum/aio/job/base_job.py,sha256=y0uE107PEuo3xVgc9ZHzJpZOg5TAZMh0YkCBiOq9CcA,11565
39
- azure/quantum/aio/job/job.py,sha256=uujsJjuP5Lnvyhs0u4W-XKl_rfC-3qb7bVakSPWSHh8,3728
40
- azure/quantum/aio/optimization/__init__.py,sha256=qGHjzOaPmODB4OqPT6-3aUWeNJ-9EFgTQ3iZkqdAhU8,287
41
- azure/quantum/aio/optimization/online_problem.py,sha256=ecQwO3Smv5ySF-WfeJ8YMd8qAEahedBSx0HqXf_pMEU,560
42
- azure/quantum/aio/optimization/problem.py,sha256=UuZxpSta228MK2Y4dVCwUI7yyW4pYCw8R4v9pFr3mGg,3638
43
- azure/quantum/aio/optimization/streaming_problem.py,sha256=VS4ZsiV48lDSf8qqEMFd6Amiq6lATuWf0h_xeAaug5g,10536
44
- azure/quantum/aio/target/__init__.py,sha256=4z7zIShRi3SUcHCPuUKa3MVeLF9DZimh3hODz2hYW-Y,521
45
- azure/quantum/aio/target/ionq.py,sha256=2MwL_uQygxphJaaq5Y_pp2Zh9zpLan006rcmhRw7nE0,1393
46
- azure/quantum/aio/target/quantinuum.py,sha256=m6h2N8l9wl5LYntFtSuRd1K2gPRSD7LWkVDxbKn24w0,1413
47
- azure/quantum/aio/target/solvers.py,sha256=KZplcuG9ETEmkD7UcIeBwCZvWBxgkp2Je3-SDt-gChs,3311
48
- azure/quantum/aio/target/target.py,sha256=ZnT6XOaDKsf4OONpxC8R3GceKpVdmp2sSBIhN2fRtlE,2366
49
- azure/quantum/aio/target/target_factory.py,sha256=Xn1uwMlMO_e3qm82W4wWK2Dd0lZ-hT3w7Z7lPneLYB4,2449
50
- azure/quantum/aio/target/toshiba.py,sha256=rtJNPO9A0lC3V5pJie7b7NfnVaoO1KWZ3rk_vD8-WRA,249
51
23
  azure/quantum/argument_types/__init__.py,sha256=0BpvjqzfnvIVJ-uQEOEClusvgh2rzjSiqfkMjLVWOwE,213
52
24
  azure/quantum/argument_types/types.py,sha256=lIwpMrhGLGJSVhadRm8U8Ip3BW-vRUGqEmhwF3XiIYY,721
53
25
  azure/quantum/chemistry/__init__.py,sha256=IWy-J-agQviD6GN5Px9c3X6MgMO_QhUKon5ZvQWEHJM,351
54
26
  azure/quantum/cirq/__init__.py,sha256=Ahmb63lL8zZBA9xDNfN2diuf9onLR6T_x4ZHhUwcIRE,125
55
27
  azure/quantum/cirq/job.py,sha256=bWRPkhnzJmwetLg5ITflv_23xdV0nLE1AoccTtu1Fvc,2773
56
- azure/quantum/cirq/service.py,sha256=LC9dJjRXydcBP9iVH_yodppgZV1ehNyqNAAcb9fqJVc,8039
28
+ azure/quantum/cirq/service.py,sha256=qF3R5sPC1_Q3TsfsnwG44XvK6Ya3r-epkHrBeNNy-RY,8458
57
29
  azure/quantum/cirq/targets/__init__.py,sha256=-e0kekRwnaT0PPAH5W0EAUhhdUCC1cKBRY__ket-T-s,502
58
30
  azure/quantum/cirq/targets/ionq.py,sha256=xCabcYklH9wW1TFBzpMdxvipzqhKWCYbtcgNqDHbPXM,6804
59
- azure/quantum/cirq/targets/quantinuum.py,sha256=yVBZSaKk5FFRNOgM6wNemEUvxeoxSmwlHfpCTgJh9mo,4541
31
+ azure/quantum/cirq/targets/quantinuum.py,sha256=t7L5prczDQJlzStth6Rh6r35DX1Z8J_my-VJxLBp2n4,4537
60
32
  azure/quantum/cirq/targets/target.py,sha256=1EEog72dFZoiOTQP7obOrCuO3VH0yjXGAIMeO6bm22o,2184
61
33
  azure/quantum/job/__init__.py,sha256=3JeWk3wojWdCE2y1EFMsIrVK5AhFmHmGwLDv_9yYyLo,459
62
34
  azure/quantum/job/base_job.py,sha256=t7DliOBkKW0AbzGYclM4NXiCDmuYKFrw4O4_xK0VPbg,12737
63
35
  azure/quantum/job/filtered_job.py,sha256=tiHL5XOY3ocI2jVLx7efE8hgh71MArwYdsSxSbNbeCM,1683
64
- azure/quantum/job/job.py,sha256=oNockkPkf_9xfJSsFT3HUliK2aQXFdrjwr5j238vfSE,5353
36
+ azure/quantum/job/job.py,sha256=GCUSFWZ0q19c5zrKAGDdQI_982cQHdBD3fn39s3uCjg,6159
65
37
  azure/quantum/job/job_failed_with_results_error.py,sha256=4NZVUPnCnnJsSmNg9VkIjcRChK118jkCfKlVBlHNE24,1279
66
38
  azure/quantum/job/session.py,sha256=GSpOZk5PihfLdQcho4cBxiwvIInm4JUp1mM_67vaX-I,11936
67
39
  azure/quantum/job/workspace_item.py,sha256=3gyl2bTB61wQRbeD0XyizxTl4cBDo9cqfI7hRBU7nhY,1198
@@ -75,40 +47,40 @@ azure/quantum/optimization/term.py,sha256=5OP_XeGN4SjozesvpW9QV7g3pc2xEOINN5uiAW
75
47
  azure/quantum/optimization/toshiba/__init__.py,sha256=wdtNlaOhnN10P631WZvYFIvfUXjpGthNGxNQQAKxhmc,302
76
48
  azure/quantum/optimization/toshiba/solvers.py,sha256=s3DceUtsMh1L6AycfFM9fa-eOEiE7tM5hIV3noYbV8U,374
77
49
  azure/quantum/qiskit/__init__.py,sha256=7Ok1mrUf-fsVuOJjVBx7OGzXJ7oHAI1Zqm8R2wdjMgE,273
78
- azure/quantum/qiskit/job.py,sha256=EjcIU4Ko_JzJQ1Dzr3QURzMZ2xDhHUda7Zf2DkQNJOs,14829
79
- azure/quantum/qiskit/provider.py,sha256=PFgD8TqzGWggJGrk1RqrubDKnv15aHwF-L717HRdm38,9974
50
+ azure/quantum/qiskit/job.py,sha256=PHgEIY7dOQtpfo-J--frj-PVX3OWr8llfBUv9VClLNg,14370
51
+ azure/quantum/qiskit/provider.py,sha256=9FKIjm6_Re-m_CEDxMNlrNa2JbkBkIVEzcwYmgbgLQA,10785
80
52
  azure/quantum/qiskit/backends/__init__.py,sha256=Y-kshHgY6nQsIatVR7inKcI3NcHyNURg2R7AVdqfRj0,1014
81
- azure/quantum/qiskit/backends/backend.py,sha256=S9VMdbBGMqs8dRqz0qTaMn7l3BTnvnrHKkBduhQEIK4,16467
82
- azure/quantum/qiskit/backends/ionq.py,sha256=NTIzoaJ9MG0o6bRN-gJ-_rHSbwGSeT-luw1X1NJHHas,16142
53
+ azure/quantum/qiskit/backends/backend.py,sha256=afXeGZvhVSXVxf0kuX0gn68-XMUv-uY514UEStXAiX4,20132
54
+ azure/quantum/qiskit/backends/ionq.py,sha256=rxAhWvXrAMuFbdg72qDy_MKIx8EuCV7BvKCgwQwpogY,18024
83
55
  azure/quantum/qiskit/backends/microsoft.py,sha256=MDPIYpWcKxEQPNYjoRczYvw38iTVRH3JqqWXQNoFvVU,3441
84
- azure/quantum/qiskit/backends/qci.py,sha256=i66_FHYvra4kzr-kjGK2gMkW-Q7ZVQJBy3Ky7XSecPo,3884
85
- azure/quantum/qiskit/backends/quantinuum.py,sha256=UoUB5ixw-Q60HXoM9G8-tB4wqdzQurUqUJci0nxP3QQ,12946
86
- azure/quantum/qiskit/backends/rigetti.py,sha256=9Ezlpb1cWS_YX9zYqS_aN8uC0dNI-pE__5_6RUOO4GM,4081
56
+ azure/quantum/qiskit/backends/qci.py,sha256=U8xi9J1OjHt8EOF6uBrE4T_CGLighXhiLL-69aULggc,4819
57
+ azure/quantum/qiskit/backends/quantinuum.py,sha256=6lm4yWv-3724PBaB9dnJfdeOvlGroFSZWCvBDQVJ9eI,13603
58
+ azure/quantum/qiskit/backends/rigetti.py,sha256=QeV_kQveHk9uUZUZLR0CiHhrcVY8twJWLb2Wh1h5Lrk,4248
87
59
  azure/quantum/qiskit/results/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
60
  azure/quantum/qiskit/results/resource_estimator.py,sha256=pAP5ZpVxdzNekQ_qXfSdSKYWWuqL_Vq7WK6pWU4wbEQ,814
89
61
  azure/quantum/target/__init__.py,sha256=-CqA5o7T64Ju3dRFFpqkojw_WmhE-5jAFMfyVLwe878,641
90
- azure/quantum/target/ionq.py,sha256=z5JYRVfImztNZ4HsV_XSZ6cSMm2y9_jhya8KQCv21Sw,7475
91
- azure/quantum/target/params.py,sha256=S55po2sTXOtIYzGmQkYuTOrlLUbgz9zSos0JFYTomn4,9099
92
- azure/quantum/target/quantinuum.py,sha256=fGLxRPHh1nRXFUDJUB8YIzxtUi1wuyzOD83NFOYfDNw,7064
93
- azure/quantum/target/solvers.py,sha256=fh1rLFEaUOB06fIkZV41VaJYqRSixYwoXLTNv0jrHyY,14807
94
- azure/quantum/target/target.py,sha256=ne2l3XO_ffbY8XizgRDfPbDrz7Y2q7w5LtS570FPvIs,8933
95
- azure/quantum/target/target_factory.py,sha256=hVDgd3zmOOKUV9Hq6hkvYUoUoWH3UqW3SIva5Tt4DPM,5322
62
+ azure/quantum/target/ionq.py,sha256=YFjTR-CRDYSIRSEK3uY2Y-wza4kzCoSDzZHv3WLR7wk,8160
63
+ azure/quantum/target/params.py,sha256=v9uWCKw3TI1TYEwZHg2drMiNWnW9juE9xlRVbCsD2RY,9099
64
+ azure/quantum/target/quantinuum.py,sha256=TNITEcfmXo4TbTnX-R2lYffFmK_hyaHmZLLTirWe3TA,7763
65
+ azure/quantum/target/solvers.py,sha256=_Uhz9k7CNJk6cR6fsRrWp_ZhlpEerc3le16j75yg6Pg,14963
66
+ azure/quantum/target/target.py,sha256=cW5AjQubWTWp3vFGPyCXF4Vhrzdpaqbtz828e4uw1ps,12524
67
+ azure/quantum/target/target_factory.py,sha256=LYV8Smsnw0won9PdnTlq-rFpdRiszGriV54GQ6hcl8M,5247
96
68
  azure/quantum/target/microsoft/__init__.py,sha256=a0ycec40xS7-_PhpAWerRS3rcOt6jmroJUd-8DnMZqc,502
97
69
  azure/quantum/target/microsoft/job.py,sha256=1QPYPGeIlB0XMKDTxnXw8Q5fsgOetpByaIuKflBGoxQ,1005
98
70
  azure/quantum/target/microsoft/result.py,sha256=AntJptXKHNRdRR6oxhTlKKPOJVSU7u9fIfH2GXJqfx0,18784
99
- azure/quantum/target/microsoft/target.py,sha256=XsaWC764iJkdsv3_HQsSq456uoW423DF92RVY1PWVFo,16838
71
+ azure/quantum/target/microsoft/target.py,sha256=O5bWW_bS6py7AFudTcZD5gq_AYMHhA15BH13kkTBhpE,17566
100
72
  azure/quantum/target/microsoft/elements/dft/__init__.py,sha256=ZfijP0o5NWW7KapvnsvzbpZDBttKQ1iWADewgkzZJ-U,147
101
73
  azure/quantum/target/microsoft/elements/dft/job.py,sha256=ulWFgUvOI48UZ5xZCGJA3P53xxAv9ZmWKS0upqmSQMA,2117
102
- azure/quantum/target/microsoft/elements/dft/target.py,sha256=W2P-DZq4Gwe-kuXS1lpPCdr6TZ3eGKymZSTdUtUIvr8,1606
74
+ azure/quantum/target/microsoft/elements/dft/target.py,sha256=jPgSzEtuX8RgEa-z_higOgHAxxZcFpIc4yGxlUNachc,1907
103
75
  azure/quantum/target/pasqal/__init__.py,sha256=qbe6oWTQTsnTYwY3xZr32z4AWaYIchx71bYlqC2rQqw,348
104
76
  azure/quantum/target/pasqal/result.py,sha256=RMYIOxoZY6Zn05bHEaIDyAIILJWGBIZ6swyQWBxBK7Q,1348
105
- azure/quantum/target/pasqal/target.py,sha256=O1z4Mpg5Cwqa7IvXvoYMSRrcX3M3rC0jPAbdH6sCs2U,3588
77
+ azure/quantum/target/pasqal/target.py,sha256=wrW5c6HAPpqBF-oIvuuzPCTHexAIseBxtuZU8EV97yM,3936
106
78
  azure/quantum/target/rigetti/__init__.py,sha256=I1vyzZBYGI540pauTqJd0RSSyTShGqkEL7Yjo25_RNY,378
107
79
  azure/quantum/target/rigetti/result.py,sha256=gwIkKnVu_7f3lScGbgawyFc0J_do06lxiGUt3kcrGKU,2215
108
- azure/quantum/target/rigetti/target.py,sha256=bK1P6IgJA7b0iu_Z_pci3NZ1n3BuLm7zMGGQo4lK93I,6249
80
+ azure/quantum/target/rigetti/target.py,sha256=4vgvWywuhraismAj-T7_pnD4EibKUkcDjF0HyDZO1FQ,6600
109
81
  azure/quantum/target/toshiba/__init__.py,sha256=XOGavxw_ekyTealmx5EPYzlYIdVlUnlbsIXPZVSMU-g,146
110
82
  azure/quantum/target/toshiba/solvers.py,sha256=-lao-2r_fzMxmxNjdH-hzWC3bfVuGtPkdj5k-kp5bwI,5722
111
- azure_quantum-0.30.0.dist-info/METADATA,sha256=u5JeNjYnUAnog1WMLSQ6fDIyaVcX2NzgkNsGGSD-04U,7438
112
- azure_quantum-0.30.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
113
- azure_quantum-0.30.0.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
114
- azure_quantum-0.30.0.dist-info/RECORD,,
83
+ azure_quantum-1.0.0.dist-info/METADATA,sha256=J05pqK3t9X4ZoC98ObFSCCM9WsWI4IoOpRQgEWjC4Dg,7351
84
+ azure_quantum-1.0.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
85
+ azure_quantum-1.0.0.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
86
+ azure_quantum-1.0.0.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- from ._client import QuantumClient
10
-
11
- try:
12
- from ._patch import __all__ as _patch_all
13
- from ._patch import * # pylint: disable=unused-wildcard-import
14
- except ImportError:
15
- _patch_all = []
16
- from ._patch import patch_sdk as _patch_sdk
17
-
18
- __all__ = [
19
- "QuantumClient",
20
- ]
21
- __all__.extend([p for p in _patch_all if p not in __all__])
22
-
23
- _patch_sdk()
@@ -1,124 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- from copy import deepcopy
10
- from typing import Any, Awaitable, TYPE_CHECKING
11
-
12
- from azure.core import AsyncPipelineClient
13
- from azure.core.rest import AsyncHttpResponse, HttpRequest
14
-
15
- from .. import models as _models
16
- from .._serialization import Deserializer, Serializer
17
- from ._configuration import QuantumClientConfiguration
18
- from .operations import (
19
- JobsOperations,
20
- ProvidersOperations,
21
- QuotasOperations,
22
- SessionsOperations,
23
- StorageOperations,
24
- TopLevelItemsOperations,
25
- )
26
-
27
- if TYPE_CHECKING:
28
- # pylint: disable=unused-import,ungrouped-imports
29
- from azure.core.credentials_async import AsyncTokenCredential
30
-
31
-
32
- class QuantumClient: # pylint: disable=client-accepts-api-version-keyword
33
- """Azure Quantum REST API client.
34
-
35
- :ivar jobs: JobsOperations operations
36
- :vartype jobs: azure.quantum._client.aio.operations.JobsOperations
37
- :ivar providers: ProvidersOperations operations
38
- :vartype providers: azure.quantum._client.aio.operations.ProvidersOperations
39
- :ivar storage: StorageOperations operations
40
- :vartype storage: azure.quantum._client.aio.operations.StorageOperations
41
- :ivar quotas: QuotasOperations operations
42
- :vartype quotas: azure.quantum._client.aio.operations.QuotasOperations
43
- :ivar sessions: SessionsOperations operations
44
- :vartype sessions: azure.quantum._client.aio.operations.SessionsOperations
45
- :ivar top_level_items: TopLevelItemsOperations operations
46
- :vartype top_level_items: azure.quantum._client.aio.operations.TopLevelItemsOperations
47
- :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g.
48
- 00000000-0000-0000-0000-000000000000). Required.
49
- :type subscription_id: str
50
- :param resource_group_name: Name of an Azure resource group. Required.
51
- :type resource_group_name: str
52
- :param workspace_name: Name of the workspace. Required.
53
- :type workspace_name: str
54
- :param credential: Credential needed for the client to connect to Azure. Required.
55
- :type credential: ~azure.core.credentials_async.AsyncTokenCredential
56
- :keyword endpoint: Service URL. Default value is "https://quantum.azure.com".
57
- :paramtype endpoint: str
58
- :keyword api_version: Api Version. Default value is "2022-09-12-preview". Note that overriding
59
- this default value may result in unsupported behavior.
60
- :paramtype api_version: str
61
- """
62
-
63
- def __init__(
64
- self,
65
- subscription_id: str,
66
- resource_group_name: str,
67
- workspace_name: str,
68
- credential: "AsyncTokenCredential",
69
- *,
70
- endpoint: str = "https://quantum.azure.com",
71
- **kwargs: Any
72
- ) -> None:
73
- self._config = QuantumClientConfiguration(
74
- subscription_id=subscription_id,
75
- resource_group_name=resource_group_name,
76
- workspace_name=workspace_name,
77
- credential=credential,
78
- **kwargs
79
- )
80
- self._client: AsyncPipelineClient = AsyncPipelineClient(base_url=endpoint, config=self._config, **kwargs)
81
-
82
- client_models = {k: v for k, v in _models._models.__dict__.items() if isinstance(v, type)}
83
- client_models.update({k: v for k, v in _models.__dict__.items() if isinstance(v, type)})
84
- self._serialize = Serializer(client_models)
85
- self._deserialize = Deserializer(client_models)
86
- self._serialize.client_side_validation = False
87
- self.jobs = JobsOperations(self._client, self._config, self._serialize, self._deserialize)
88
- self.providers = ProvidersOperations(self._client, self._config, self._serialize, self._deserialize)
89
- self.storage = StorageOperations(self._client, self._config, self._serialize, self._deserialize)
90
- self.quotas = QuotasOperations(self._client, self._config, self._serialize, self._deserialize)
91
- self.sessions = SessionsOperations(self._client, self._config, self._serialize, self._deserialize)
92
- self.top_level_items = TopLevelItemsOperations(self._client, self._config, self._serialize, self._deserialize)
93
-
94
- def send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
95
- """Runs the network request through the client's chained policies.
96
-
97
- >>> from azure.core.rest import HttpRequest
98
- >>> request = HttpRequest("GET", "https://www.example.org/")
99
- <HttpRequest [GET], url: 'https://www.example.org/'>
100
- >>> response = await client.send_request(request)
101
- <AsyncHttpResponse: 200 OK>
102
-
103
- For more information on this code flow, see https://aka.ms/azsdk/dpcodegen/python/send_request
104
-
105
- :param request: The network request you want to make. Required.
106
- :type request: ~azure.core.rest.HttpRequest
107
- :keyword bool stream: Whether the response payload will be streamed. Defaults to False.
108
- :return: The response of your network call. Does not do error handling on your response.
109
- :rtype: ~azure.core.rest.AsyncHttpResponse
110
- """
111
-
112
- request_copy = deepcopy(request)
113
- request_copy.url = self._client.format_url(request_copy.url)
114
- return self._client.send_request(request_copy, **kwargs)
115
-
116
- async def close(self) -> None:
117
- await self._client.close()
118
-
119
- async def __aenter__(self) -> "QuantumClient":
120
- await self._client.__aenter__()
121
- return self
122
-
123
- async def __aexit__(self, *exc_details: Any) -> None:
124
- await self._client.__aexit__(*exc_details)
@@ -1,89 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- import sys
10
- from typing import Any, TYPE_CHECKING
11
-
12
- from azure.core.configuration import Configuration
13
- from azure.core.pipeline import policies
14
-
15
- from .._version import VERSION
16
-
17
- if sys.version_info >= (3, 8):
18
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
19
- else:
20
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
21
-
22
- if TYPE_CHECKING:
23
- # pylint: disable=unused-import,ungrouped-imports
24
- from azure.core.credentials_async import AsyncTokenCredential
25
-
26
-
27
- class QuantumClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
28
- """Configuration for QuantumClient.
29
-
30
- Note that all parameters used to create this instance are saved as instance
31
- attributes.
32
-
33
- :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g.
34
- 00000000-0000-0000-0000-000000000000). Required.
35
- :type subscription_id: str
36
- :param resource_group_name: Name of an Azure resource group. Required.
37
- :type resource_group_name: str
38
- :param workspace_name: Name of the workspace. Required.
39
- :type workspace_name: str
40
- :param credential: Credential needed for the client to connect to Azure. Required.
41
- :type credential: ~azure.core.credentials_async.AsyncTokenCredential
42
- :keyword api_version: Api Version. Default value is "2022-09-12-preview". Note that overriding
43
- this default value may result in unsupported behavior.
44
- :paramtype api_version: str
45
- """
46
-
47
- def __init__(
48
- self,
49
- subscription_id: str,
50
- resource_group_name: str,
51
- workspace_name: str,
52
- credential: "AsyncTokenCredential",
53
- **kwargs: Any
54
- ) -> None:
55
- super(QuantumClientConfiguration, self).__init__(**kwargs)
56
- api_version: Literal["2022-09-12-preview"] = kwargs.pop("api_version", "2022-09-12-preview")
57
-
58
- if subscription_id is None:
59
- raise ValueError("Parameter 'subscription_id' must not be None.")
60
- if resource_group_name is None:
61
- raise ValueError("Parameter 'resource_group_name' must not be None.")
62
- if workspace_name is None:
63
- raise ValueError("Parameter 'workspace_name' must not be None.")
64
- if credential is None:
65
- raise ValueError("Parameter 'credential' must not be None.")
66
-
67
- self.subscription_id = subscription_id
68
- self.resource_group_name = resource_group_name
69
- self.workspace_name = workspace_name
70
- self.credential = credential
71
- self.api_version = api_version
72
- self.credential_scopes = kwargs.pop("credential_scopes", ["https://quantum.microsoft.com/.default"])
73
- kwargs.setdefault("sdk_moniker", "quantum/{}".format(VERSION))
74
- self._configure(**kwargs)
75
-
76
- def _configure(self, **kwargs: Any) -> None:
77
- self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs)
78
- self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs)
79
- self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs)
80
- self.logging_policy = kwargs.get("logging_policy") or policies.NetworkTraceLoggingPolicy(**kwargs)
81
- self.http_logging_policy = kwargs.get("http_logging_policy") or policies.HttpLoggingPolicy(**kwargs)
82
- self.retry_policy = kwargs.get("retry_policy") or policies.AsyncRetryPolicy(**kwargs)
83
- self.custom_hook_policy = kwargs.get("custom_hook_policy") or policies.CustomHookPolicy(**kwargs)
84
- self.redirect_policy = kwargs.get("redirect_policy") or policies.AsyncRedirectPolicy(**kwargs)
85
- self.authentication_policy = kwargs.get("authentication_policy")
86
- if self.credential and not self.authentication_policy:
87
- self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(
88
- self.credential, *self.credential_scopes, **kwargs
89
- )
@@ -1,20 +0,0 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
5
- """Customize generated code here.
6
-
7
- Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
- """
9
- from typing import List
10
-
11
- __all__: List[str] = [] # Add all objects you want publicly available to users at this package level
12
-
13
-
14
- def patch_sdk():
15
- """Do not remove from this file.
16
-
17
- `patch_sdk` is a last resort escape hatch that allows you to do customizations
18
- you can't accomplish using the techniques described in
19
- https://aka.ms/azsdk/python/dpcodegen/python/customize
20
- """
@@ -1,29 +0,0 @@
1
- # coding=utf-8
2
- # --------------------------------------------------------------------------
3
- # Copyright (c) Microsoft Corporation. All rights reserved.
4
- # Licensed under the MIT License. See License.txt in the project root for license information.
5
- # Code generated by Microsoft (R) AutoRest Code Generator.
6
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- # --------------------------------------------------------------------------
8
-
9
- from ._operations import JobsOperations
10
- from ._operations import ProvidersOperations
11
- from ._operations import StorageOperations
12
- from ._operations import QuotasOperations
13
- from ._operations import SessionsOperations
14
- from ._operations import TopLevelItemsOperations
15
-
16
- from ._patch import __all__ as _patch_all
17
- from ._patch import * # pylint: disable=unused-wildcard-import
18
- from ._patch import patch_sdk as _patch_sdk
19
-
20
- __all__ = [
21
- "JobsOperations",
22
- "ProvidersOperations",
23
- "StorageOperations",
24
- "QuotasOperations",
25
- "SessionsOperations",
26
- "TopLevelItemsOperations",
27
- ]
28
- __all__.extend([p for p in _patch_all if p not in __all__])
29
- _patch_sdk()