|
34 | 34 |
|
35 | 35 | __all__ = [
|
36 | 36 | "IonQBackend",
|
37 |
| - "IonQQPUBackend", |
38 | 37 | "IonQSimulatorBackend",
|
39 | 38 | "IonQAriaBackend",
|
40 | 39 | "IonQForteBackend",
|
41 | 40 | "IonQQirBackend",
|
42 | 41 | "IonQSimulatorQirBackend",
|
43 | 42 | "IonQSimulatorNativeBackend",
|
44 |
| - "IonQQPUQirBackend", |
45 |
| - "IonQQPUNativeBackend", |
46 | 43 | "IonQAriaQirBackend",
|
47 | 44 | "IonQForteQirBackend",
|
48 | 45 | "IonQAriaNativeBackend",
|
@@ -133,38 +130,6 @@ def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs):
|
133 | 130 | super().__init__(configuration=configuration, provider=provider, **kwargs)
|
134 | 131 |
|
135 | 132 |
|
136 |
| -class IonQQPUQirBackend(IonQQirBackendBase): |
137 |
| - backend_names = ("ionq.qpu",) |
138 |
| - |
139 |
| - def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs): |
140 |
| - """Base class for interfacing with an IonQ QPU backend""" |
141 |
| - |
142 |
| - default_config = BackendConfiguration.from_dict( |
143 |
| - { |
144 |
| - "backend_name": name, |
145 |
| - "backend_version": __version__, |
146 |
| - "simulator": False, |
147 |
| - "local": False, |
148 |
| - "coupling_map": None, |
149 |
| - "description": "IonQ QPU on Azure Quantum", |
150 |
| - "basis_gates": ionq_basis_gates, |
151 |
| - "memory": False, |
152 |
| - "n_qubits": 11, |
153 |
| - "conditional": False, |
154 |
| - "max_shots": 10000, |
155 |
| - "max_experiments": 1, |
156 |
| - "open_pulse": False, |
157 |
| - "gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}], |
158 |
| - "azure": self._azure_config(), |
159 |
| - } |
160 |
| - ) |
161 |
| - logger.info("Initializing IonQQPUQirBackend") |
162 |
| - configuration: BackendConfiguration = kwargs.pop( |
163 |
| - "configuration", default_config |
164 |
| - ) |
165 |
| - super().__init__(configuration=configuration, provider=provider, **kwargs) |
166 |
| - |
167 |
| - |
168 | 133 | class IonQAriaQirBackend(IonQQirBackendBase):
|
169 | 134 | backend_names = ("ionq.qpu.aria-1", "ionq.qpu.aria-2")
|
170 | 135 |
|
@@ -361,55 +326,6 @@ def _azure_config(self) -> Dict[str, str]:
|
361 | 326 | return config
|
362 | 327 |
|
363 | 328 |
|
364 |
| -class IonQQPUBackend(IonQBackend): |
365 |
| - backend_names = ("ionq.qpu",) |
366 |
| - |
367 |
| - def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs): |
368 |
| - """Base class for interfacing with an IonQ QPU backend""" |
369 |
| - gateset = kwargs.pop("gateset", "qis") |
370 |
| - default_config = BackendConfiguration.from_dict( |
371 |
| - { |
372 |
| - "backend_name": name, |
373 |
| - "backend_version": __version__, |
374 |
| - "simulator": False, |
375 |
| - "local": False, |
376 |
| - "coupling_map": None, |
377 |
| - "description": "IonQ QPU on Azure Quantum", |
378 |
| - "basis_gates": GATESET_MAP[gateset], |
379 |
| - "memory": False, |
380 |
| - "n_qubits": 11, |
381 |
| - "conditional": False, |
382 |
| - "max_shots": 10000, |
383 |
| - "max_experiments": 1, |
384 |
| - "open_pulse": False, |
385 |
| - "gates": [{"name": "TODO", "parameters": [], "qasm_def": "TODO"}], |
386 |
| - "azure": self._azure_config(), |
387 |
| - "gateset": gateset, |
388 |
| - } |
389 |
| - ) |
390 |
| - logger.info("Initializing IonQQPUBackend") |
391 |
| - configuration: BackendConfiguration = kwargs.pop( |
392 |
| - "configuration", default_config |
393 |
| - ) |
394 |
| - super().__init__(configuration=configuration, provider=provider, **kwargs) |
395 |
| - |
396 |
| - |
397 |
| -class IonQQPUNativeBackend(IonQQPUBackend): |
398 |
| - def __init__(self, name: str, provider: "AzureQuantumProvider", **kwargs): |
399 |
| - if "gateset" not in kwargs: |
400 |
| - kwargs["gateset"] = "native" |
401 |
| - super().__init__(name, provider, **kwargs) |
402 |
| - |
403 |
| - def _azure_config(self) -> Dict[str, str]: |
404 |
| - config = super()._azure_config() |
405 |
| - config.update( |
406 |
| - { |
407 |
| - "is_default": False, |
408 |
| - } |
409 |
| - ) |
410 |
| - return config |
411 |
| - |
412 |
| - |
413 | 329 | class IonQAriaBackend(IonQBackend):
|
414 | 330 | backend_names = ("ionq.qpu.aria-1", "ionq.qpu.aria-2")
|
415 | 331 |
|
|
0 commit comments