Skip to content

Commit

Permalink
Fixing tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
masenol committed Sep 1, 2023
1 parent 99fe008 commit 3c964f4
Show file tree
Hide file tree
Showing 39 changed files with 22,325 additions and 11,494 deletions.
1,450 changes: 689 additions & 761 deletions azure-quantum/tests/unit/recordings/test_configuration_quantinuum_backends.yaml

Large diffs are not rendered by default.

392 changes: 270 additions & 122 deletions azure-quantum/tests/unit/recordings/test_job_submit_quantinuum.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

159 changes: 76 additions & 83 deletions azure-quantum/tests/unit/recordings/test_plugins_cirq_get_targets.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

352 changes: 172 additions & 180 deletions azure-quantum/tests/unit/recordings/test_plugins_ionq_cirq.yaml

Large diffs are not rendered by default.

1,300 changes: 786 additions & 514 deletions azure-quantum/tests/unit/recordings/test_plugins_quantinuum_cirq.yaml

Large diffs are not rendered by default.

624 changes: 282 additions & 342 deletions azure-quantum/tests/unit/recordings/test_plugins_retrieve_job.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: client_id=PLACEHOLDER&grant_type=client_credentials&client_info=1&client_secret=PLACEHOLDER&claims=PLACEHOLDER&scope=https%3A%2F%2Fquantum.microsoft.com%2F.default
body: client_id=PLACEHOLDER&grant_type=client_credentials&client_info=1&client_secret=PLACEHOLDER&scope=https%3A%2F%2Fquantum.microsoft.com%2F.default
headers:
Accept:
- application/json
Expand All @@ -9,21 +9,21 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '163'
- '144'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- azsdk-python-identity/1.12.0 Python/3.9.16 (Windows-10-10.0.22621-SP0)
- azsdk-python-identity/1.14.0 Python/3.9.18 (Windows-10-10.0.22621-SP0)
x-client-cpu:
- x64
x-client-current-telemetry:
- 4|730,0|
- 4|730,2|
x-client-os:
- win32
x-client-sku:
- MSAL.Python
x-client-ver:
- 1.21.0
- 1.23.0
method: POST
uri: https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token
response:
Expand All @@ -48,79 +48,74 @@ interactions:
Connection:
- keep-alive
User-Agent:
- testapp-azure-quantum-qiskit azsdk-python-quantum/0.0.1 Python/3.9.16 (Windows-10-10.0.22621-SP0)
- testapp-azure-quantum-qiskit azsdk-python-quantum/0.0.1 Python/3.9.18 (Windows-10-10.0.22621-SP0)
method: GET
uri: https://eastus.quantum.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Quantum/workspaces/myworkspace/providerStatus?api-version=2022-09-12-preview&test-sequence-id=1
response:
body:
string: '{"value": [{"id": "Microsoft", "currentAvailability": "Available",
"targets": [{"id": "microsoft.paralleltempering-parameterfree.cpu", "currentAvailability":
"Available", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.paralleltempering.cpu",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": null},
{"id": "microsoft.simulatedannealing-parameterfree.cpu", "currentAvailability":
"Available", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.simulatedannealing.cpu",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": null},
{"id": "microsoft.tabu-parameterfree.cpu", "currentAvailability": "Available",
string: '{"value": [{"id": "Microsoft", "currentAvailability": "Degraded", "targets":
[{"id": "microsoft.paralleltempering-parameterfree.cpu", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.paralleltempering.cpu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "microsoft.simulatedannealing-parameterfree.cpu", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.simulatedannealing.cpu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "microsoft.tabu-parameterfree.cpu", "currentAvailability": "Unavailable",
"averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.tabu.cpu", "currentAvailability":
"Available", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.qmc.cpu",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": null},
{"id": "microsoft.populationannealing.cpu", "currentAvailability": "Available",
"averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.populationannealing-parameterfree.cpu",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": null},
{"id": "microsoft.substochasticmontecarlo.cpu", "currentAvailability": "Available",
"averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.substochasticmontecarlo-parameterfree.cpu",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": null},
{"id": "microsoft.populationannealing-parameterfree.cpu", "currentAvailability":
"Available", "averageQueueTime": 0, "statusPage": null}]}, {"id": "ionq",
"currentAvailability": "Available", "targets": [{"id": "ionq.qpu", "currentAvailability":
"Available", "averageQueueTime": 1444971, "statusPage": "https://status.ionq.co"},
{"id": "ionq.qpu.aria-1", "currentAvailability": "Available", "averageQueueTime":
478157, "statusPage": "https://status.ionq.co"}, {"id": "ionq.simulator",
"currentAvailability": "Available", "averageQueueTime": 4, "statusPage": "https://status.ionq.co"}]},
{"id": "quantinuum", "currentAvailability": "Degraded", "targets": [{"id":
"quantinuum.hqs-lt-s1", "currentAvailability": "Unavailable", "averageQueueTime":
0, "statusPage": "https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.hqs-lt-s1-apival",
"currentAvailability": "Available", "averageQueueTime": 1, "statusPage": "https://www.quantinuum.com/products/h1"},
{"id": "quantinuum.hqs-lt-s2", "currentAvailability": "Degraded", "averageQueueTime":
0, "statusPage": "https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.hqs-lt-s2-apival",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/products/h1"},
{"id": "quantinuum.hqs-lt-s1-sim", "currentAvailability": "Available", "averageQueueTime":
5169, "statusPage": "https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.hqs-lt-s2-sim",
"currentAvailability": "Available", "averageQueueTime": 832, "statusPage":
"https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.qpu.h1-1", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/products/h1"},
"Unavailable", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.qmc.cpu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "microsoft.populationannealing.cpu", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.populationannealing-parameterfree.cpu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "microsoft.substochasticmontecarlo.cpu", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}, {"id": "microsoft.substochasticmontecarlo-parameterfree.cpu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "microsoft.populationannealing-parameterfree.cpu", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}]}, {"id": "ionq",
"currentAvailability": "Degraded", "targets": [{"id": "ionq.qpu", "currentAvailability":
"Available", "averageQueueTime": 1293, "statusPage": "https://status.ionq.co"},
{"id": "ionq.qpu.aria-1", "currentAvailability": "Unavailable", "averageQueueTime":
192353, "statusPage": "https://status.ionq.co"}, {"id": "ionq.simulator",
"currentAvailability": "Available", "averageQueueTime": 25, "statusPage":
"https://status.ionq.co"}]}, {"id": "quantinuum", "currentAvailability": "Degraded",
"targets": [{"id": "quantinuum.qpu.h1-1", "currentAvailability": "Degraded",
"averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/hardware/h1"},
{"id": "quantinuum.sim.h1-1sc", "currentAvailability": "Available", "averageQueueTime":
1, "statusPage": "https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.qpu.h1-2",
"currentAvailability": "Degraded", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/products/h1"},
14, "statusPage": "https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.qpu.h1-2",
"currentAvailability": "Degraded", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/hardware/h1"},
{"id": "quantinuum.sim.h1-2sc", "currentAvailability": "Available", "averageQueueTime":
0, "statusPage": "https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.sim.h1-1e",
"currentAvailability": "Available", "averageQueueTime": 5169, "statusPage":
"https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.sim.h1-2e",
"currentAvailability": "Available", "averageQueueTime": 832, "statusPage":
"https://www.quantinuum.com/products/h1"}, {"id": "quantinuum.sim.h1-1sc-preview",
"currentAvailability": "Available", "averageQueueTime": 1, "statusPage": "https://www.quantinuum.com/products/h1"},
{"id": "quantinuum.sim.h1-2sc-preview", "currentAvailability": "Available",
"averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/products/h1"},
0, "statusPage": "https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.sim.h1-1e",
"currentAvailability": "Available", "averageQueueTime": 76078, "statusPage":
"https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.sim.h1-2e",
"currentAvailability": "Available", "averageQueueTime": 1046, "statusPage":
"https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.qpu.h2-1", "currentAvailability":
"Available", "averageQueueTime": 68997, "statusPage": "https://www.quantinuum.com/hardware/h2"},
{"id": "quantinuum.sim.h2-1sc", "currentAvailability": "Available", "averageQueueTime":
1, "statusPage": "https://www.quantinuum.com/hardware/h2"}, {"id": "quantinuum.sim.h2-1e",
"currentAvailability": "Available", "averageQueueTime": 76098, "statusPage":
"https://www.quantinuum.com/hardware/h2"}, {"id": "quantinuum.sim.h1-1sc-preview",
"currentAvailability": "Available", "averageQueueTime": 14, "statusPage":
"https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.sim.h1-2sc-preview",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/hardware/h1"},
{"id": "quantinuum.sim.h1-1e-preview", "currentAvailability": "Available",
"averageQueueTime": 5169, "statusPage": "https://www.quantinuum.com/products/h1"},
"averageQueueTime": 76078, "statusPage": "https://www.quantinuum.com/hardware/h1"},
{"id": "quantinuum.sim.h1-2e-preview", "currentAvailability": "Available",
"averageQueueTime": 832, "statusPage": "https://www.quantinuum.com/products/h1"},
{"id": "quantinuum.qpu.h1-1-preview", "currentAvailability": "Unavailable",
"averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/products/h1"},
{"id": "quantinuum.qpu.h1-2-preview", "currentAvailability": "Degraded", "averageQueueTime":
0, "statusPage": "https://www.quantinuum.com/products/h1"}]}, {"id": "rigetti",
"currentAvailability": "Degraded", "targets": [{"id": "rigetti.sim.qvm", "currentAvailability":
"Available", "averageQueueTime": 5, "statusPage": "https://rigetti.statuspage.io/"},
"averageQueueTime": 1046, "statusPage": "https://www.quantinuum.com/hardware/h1"},
{"id": "quantinuum.qpu.h1-1-preview", "currentAvailability": "Degraded", "averageQueueTime":
0, "statusPage": "https://www.quantinuum.com/hardware/h1"}, {"id": "quantinuum.qpu.h1-2-preview",
"currentAvailability": "Degraded", "averageQueueTime": 0, "statusPage": "https://www.quantinuum.com/hardware/h1"}]},
{"id": "rigetti", "currentAvailability": "Degraded", "targets": [{"id": "rigetti.sim.qvm",
"currentAvailability": "Available", "averageQueueTime": 5, "statusPage": "https://rigetti.statuspage.io/"},
{"id": "rigetti.qpu.aspen-m-2", "currentAvailability": "Unavailable", "averageQueueTime":
0, "statusPage": "https://rigetti.statuspage.io/"}, {"id": "rigetti.qpu.aspen-m-3",
"currentAvailability": "Available", "averageQueueTime": 5, "statusPage": "https://rigetti.statuspage.io/"}]},
0, "statusPage": null}, {"id": "rigetti.qpu.aspen-m-3", "currentAvailability":
"Available", "averageQueueTime": 5, "statusPage": "https://rigetti.statuspage.io/"}]},
{"id": "1qbit", "currentAvailability": "Unavailable", "targets": [{"id": "1qbit.tabu",
"currentAvailability": "Unavailable", "averageQueueTime": 0, "statusPage":
null}, {"id": "1qbit.pathrelinking", "currentAvailability": "Unavailable",
"averageQueueTime": 0, "statusPage": null}, {"id": "1qbit.pticm", "currentAvailability":
"Unavailable", "averageQueueTime": 0, "statusPage": null}]}, {"id": "toshiba",
"currentAvailability": "Available", "targets": [{"id": "toshiba.sbm.ising",
"currentAvailability": "Available", "averageQueueTime": 0, "statusPage": "https://aq-sbm.net/v1/service_monitor/index.html"}]},
"currentAvailability": "Available", "averageQueueTime": 4, "statusPage": "https://aq-sbm.net/v1/service_monitor/index.html"}]},
{"id": "microsoft-qc", "currentAvailability": "Available", "targets": [{"id":
"microsoft.estimator", "currentAvailability": "Available", "averageQueueTime":
0, "statusPage": null}]}, {"id": "qci", "currentAvailability": "Degraded",
Expand All @@ -146,7 +141,7 @@ interactions:
connection:
- keep-alive
content-length:
- '7638'
- '7171'
content-type:
- application/json; charset=utf-8
transfer-encoding:
Expand Down
Loading

0 comments on commit 3c964f4

Please sign in to comment.