-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* conf_geneva * reno * adding to the test * order * calibration data 2022-07-12 15:40:30+02:00 * calibration from 2022-06-24 23:00:30+02:00 * Update releasenotes/notes/ibm_geneva-5b1e9308dc302e2e.yaml * remove v1 * reno new Co-authored-by: Junye Huang <h.jun.ye@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c0f5ae0
commit 4f65058
Showing
9 changed files
with
54 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 |
---|---|---|
|
@@ -121,6 +121,7 @@ | |
FakeCambridgeV2 | ||
FakeCasablancaV2 | ||
FakeEssexV2 | ||
FakeGeneva | ||
FakeGuadalupeV2 | ||
FakeHanoiV2 | ||
FakeJakartaV2 | ||
|
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/providers/fake_provider/backends/geneva/__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 Geneva device (27 qubits)""" | ||
|
||
from .fake_geneva import FakeGeneva |
1 change: 1 addition & 0 deletions
1
qiskit/providers/fake_provider/backends/geneva/conf_geneva.json
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
qiskit/providers/fake_provider/backends/geneva/defs_geneva.json
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
qiskit/providers/fake_provider/backends/geneva/fake_geneva.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 Geneva device (27 qubits). | ||
""" | ||
|
||
import os | ||
from qiskit.providers.fake_provider import fake_backend | ||
|
||
|
||
class FakeGeneva(fake_backend.FakeBackendV2): | ||
"""A fake 27 qubit backend.""" | ||
|
||
dirname = os.path.dirname(__file__) | ||
conf_filename = "conf_geneva.json" | ||
props_filename = "props_geneva.json" | ||
defs_filename = "defs_geneva.json" | ||
backend_name = "fake_geneva" |
1 change: 1 addition & 0 deletions
1
qiskit/providers/fake_provider/backends/geneva/props_geneva.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
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,4 @@ | ||
--- | ||
features: | ||
- | | ||
The fake backend :class:`~FakeGeneva` was added with the information from IBM Quantum `ibm_geneva` system. |