forked from Qiskit/qiskit-ibm-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FakeAuckland backend to fake provider (Qiskit/qiskit#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>
- Loading branch information
1 parent
a1dd2bc
commit 9aa8289
Showing
8 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,6 +111,7 @@ | |
FakeAlmadenV2 | ||
FakeArmonkV2 | ||
FakeAthensV2 | ||
FakeAuckland | ||
FakeBelemV2 | ||
FakeBoeblingenV2 | ||
FakeBogotaV2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
qiskit_ibm_runtime/fake_provider/backends/auckland/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_runtime/fake_provider/backends/auckland/conf_auckland.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
qiskit_ibm_runtime/fake_provider/backends/auckland/defs_auckland.json
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
qiskit_ibm_runtime/fake_provider/backends/auckland/fake_auckland.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_runtime/fake_provider/backends/auckland/props_auckland.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters