forked from Qiskit/qiskit-ibm-provider
-
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 FakePrague Egret R1 to fake backends (Qiskit/qiskit#9369)
* Add FakePrague device * Add release note * Update releasenotes/notes/add_fake_prague-79f82b83c2e2329c.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Add suggestions Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0e499b3
commit e3d1a69
Showing
7 changed files
with
48 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 |
---|---|---|
|
@@ -136,6 +136,7 @@ | |
FakeOurenseV2 | ||
FakeParisV2 | ||
FakePerth | ||
FakePrague | ||
FakePoughkeepsieV2 | ||
FakeQuitoV2 | ||
FakeRochesterV2 | ||
|
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_provider/fake_provider/backends/prague/__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 Prague device (33 qubits)""" | ||
|
||
from .fake_prague import FakePrague |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_provider/fake_provider/backends/prague/conf_prague.json
Large diffs are not rendered by default.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
qiskit_ibm_provider/fake_provider/backends/prague/fake_prague.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,28 @@ | ||
# 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 Prague device (33 qubits). | ||
""" | ||
|
||
import os | ||
from qiskit.providers.fake_provider import fake_backend | ||
|
||
|
||
class FakePrague(fake_backend.FakeBackendV2): | ||
"""A fake 33 qubit backend.""" | ||
|
||
dirname = os.path.dirname(__file__) | ||
conf_filename = "conf_prague.json" | ||
props_filename = "props_prague.json" | ||
backend_name = "fake_prague" |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_provider/fake_provider/backends/prague/props_prague.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