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:
Luciano Bello 2022-09-19 15:30:59 +02:00 committed by GitHub
parent 4b5a5bf45e
commit b454a8dfcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 0 deletions

View File

@ -111,6 +111,7 @@ Fake V2 backends are fake backends with IBM Quantum systems snapshots implemente
FakeAlmadenV2
FakeArmonkV2
FakeAthensV2
FakeAuckland
FakeBelemV2
FakeBoeblingenV2
FakeBogotaV2

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -91,6 +91,7 @@ class FakeProviderForBackendV2(ProviderV1):
FakeAlmadenV2(),
FakeArmonkV2(),
FakeAthensV2(),
FakeAuckland(),
FakeBelemV2(),
FakeBoeblingenV2(),
FakeBogotaV2(),

View File

@ -0,0 +1,5 @@
---
features:
- |
The fake backend :class:`~FakeAuckland` was added with the information
from IBM Quantum `ibm_auckland` system.