Skip to content

Commit 82f0751

Browse files
authored
Add support for h2-2 targets (microsoft#667)
1 parent fc3a8fc commit 82f0751

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

azure-quantum/azure/quantum/qiskit/backends/quantinuum.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class QuantinuumSyntaxCheckerQirBackend(QuantinuumQirBackendBase):
105105
# Note: Target names on the same line are equivalent.
106106
"quantinuum.sim.h1-1sc",
107107
"quantinuum.sim.h2-1sc",
108+
"quantinuum.sim.h2-2sc"
108109
)
109110

110111
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
@@ -142,6 +143,7 @@ class QuantinuumEmulatorQirBackend(QuantinuumQirBackendBase):
142143
# Note: Target names on the same line are equivalent.
143144
"quantinuum.sim.h1-1e",
144145
"quantinuum.sim.h2-1e",
146+
"quantinuum.sim.h2-2e"
145147
)
146148

147149
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
@@ -179,6 +181,7 @@ class QuantinuumQPUQirBackend(QuantinuumQirBackendBase):
179181
# Note: Target names on the same line are equivalent.
180182
"quantinuum.qpu.h1-1",
181183
"quantinuum.qpu.h2-1",
184+
"quantinuum.qpu.h2-2"
182185
)
183186

184187
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
@@ -253,6 +256,7 @@ class QuantinuumSyntaxCheckerBackend(QuantinuumBackend):
253256
# Note: Target names on the same line are equivalent.
254257
"quantinuum.sim.h1-1sc",
255258
"quantinuum.sim.h2-1sc",
259+
"quantinuum.sim.h2-2sc"
256260
)
257261

258262
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
@@ -290,6 +294,7 @@ class QuantinuumEmulatorBackend(QuantinuumBackend):
290294
# Note: Target names on the same line are equivalent.
291295
"quantinuum.sim.h1-1e",
292296
"quantinuum.sim.h2-1e",
297+
"quantinuum.sim.h2-2e"
293298
)
294299

295300
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
@@ -327,6 +332,7 @@ class QuantinuumQPUBackend(QuantinuumBackend):
327332
# Note: Target names on the same line are equivalent.
328333
"quantinuum.qpu.h1-1",
329334
"quantinuum.qpu.h2-1",
335+
"quantinuum.qpu.h2-2"
330336
)
331337

332338
def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):

azure-quantum/azure/quantum/target/quantinuum.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class Quantinuum(Target):
2424
"quantinuum.qpu.h2-1",
2525
"quantinuum.sim.h2-1sc",
2626
"quantinuum.sim.h2-1e",
27+
"quantinuum.qpu.h2-2",
28+
"quantinuum.sim.h2-2sc",
29+
"quantinuum.sim.h2-2e",
2730
)
2831

2932
_SHOTS_PARAM_NAME = "count"

0 commit comments

Comments
 (0)