mirror of https://github.com/Qiskit/qiskit.git
Add FakeAuckland backend to fake provider (#8467)
* adding FakePerth * Update releasenotes/notes/ibm_perth-5b1e9308dc302e2e.yaml * adding FakeAuckland This PRs adds FakeAuckland based on ibm_auckland. * V1 removed * Mock over Fake * remove V1 * removing v2 * remove v2 name Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
4b5a5bf45e
commit
b454a8dfcb
|
@ -111,6 +111,7 @@ Fake V2 backends are fake backends with IBM Quantum systems snapshots implemente
|
|||
FakeAlmadenV2
|
||||
FakeArmonkV2
|
||||
FakeAthensV2
|
||||
FakeAuckland
|
||||
FakeBelemV2
|
||||
FakeBoeblingenV2
|
||||
FakeBogotaV2
|
||||
|
|
|
@ -19,6 +19,7 @@ Mocked versions of real quantum backends.
|
|||
from .almaden import FakeAlmadenV2
|
||||
from .armonk import FakeArmonkV2
|
||||
from .athens import FakeAthensV2
|
||||
from .auckland import FakeAuckland
|
||||
from .belem import FakeBelemV2
|
||||
from .boeblingen import FakeBoeblingenV2
|
||||
from .bogota import FakeBogotaV2
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# This code is part of Qiskit.
|
||||
#
|
||||
# (C) Copyright IBM 2022.
|
||||
#
|
||||
# This code is licensed under the Apache License, Version 2.0. You may
|
||||
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
||||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
||||
#
|
||||
# Any modifications or derivative works of this code must retain this
|
||||
# copyright notice, and modified files need to carry a notice indicating
|
||||
# that they have been altered from the originals.
|
||||
|
||||
"""Fake Auckland device (27 qubits)"""
|
||||
|
||||
from .fake_auckland import FakeAuckland
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,29 @@
|
|||
# This code is part of Qiskit.
|
||||
#
|
||||
# (C) Copyright IBM 2022.
|
||||
#
|
||||
# This code is licensed under the Apache License, Version 2.0. You may
|
||||
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
||||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
||||
#
|
||||
# Any modifications or derivative works of this code must retain this
|
||||
# copyright notice, and modified files need to carry a notice indicating
|
||||
# that they have been altered from the originals.
|
||||
|
||||
|
||||
"""
|
||||
Fake Auckland device (27 qubits).
|
||||
"""
|
||||
|
||||
import os
|
||||
from qiskit.providers.fake_provider import fake_backend
|
||||
|
||||
|
||||
class FakeAuckland(fake_backend.FakeBackendV2):
|
||||
"""A fake 27 qubit backend."""
|
||||
|
||||
dirname = os.path.dirname(__file__)
|
||||
conf_filename = "conf_auckland.json"
|
||||
props_filename = "props_auckland.json"
|
||||
defs_filename = "defs_auckland.json"
|
||||
backend_name = "fake_auckland"
|
File diff suppressed because one or more lines are too long
|
@ -91,6 +91,7 @@ class FakeProviderForBackendV2(ProviderV1):
|
|||
FakeAlmadenV2(),
|
||||
FakeArmonkV2(),
|
||||
FakeAthensV2(),
|
||||
FakeAuckland(),
|
||||
FakeBelemV2(),
|
||||
FakeBoeblingenV2(),
|
||||
FakeBogotaV2(),
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
The fake backend :class:`~FakeAuckland` was added with the information
|
||||
from IBM Quantum `ibm_auckland` system.
|
Loading…
Reference in New Issue