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 Fake heron devices (Qiskit#2112)
* Add fake fez * Add config json files * Make files 1 line only * Add marrakesh * add marrakesh * Add release note --------- Co-authored-by: ptristan3 <[email protected]>
- Loading branch information
Showing
14 changed files
with
103 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
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,17 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2025. | ||
# | ||
# 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 Fez backend (156 qubit). | ||
""" | ||
|
||
from .fake_fez import FakeFez |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"qubit_freq_est": [4.950908716253456, 4.503353215279568, 4.952884113349001, 4.595889612795204, 4.981851575412858, 4.610550428782919, 4.983030983032102, 4.484635148476856, 4.945062043258426, 4.521227890425539, 4.857226703690031, 4.500653263834052, 4.964006437440031, 4.522725251628084, 4.9571741942772505, 4.452110161400176, 4.940852677392923, 4.899167094884164, 4.817678853928298, 4.835387206785189, 4.952107674823612, 4.571899241183307, 4.907285670044312, 4.575669578602432, 4.970365709455524, 4.558095730507354, 4.958819334794484, 4.5062011501317665, 4.907013767716338, 4.5366888252742115, 4.9200348026142215, 4.441629599434534, 4.991717911527265, 4.594715191815071, 4.942986277818542, 4.470949391113086, 4.9608469808433435, 4.934696742619501, 4.864414143088465, 4.901985040914119, 4.975090541301728, 4.542648184747777, 4.97445482063786, 4.53773112850866, 4.946462223835428, 4.505162167469331, 4.891296308331918, 4.606604109015325, 4.9156194545220595, 4.495002670163665, 4.931018365009991, 4.485314340886963, 4.848411833383177, 4.430942246187408, 4.966496010843358, 4.532736005435782, 4.938154139017814, 4.901151434496003, 4.873867572008572, 4.894295178642079, 4.887847215879664, 4.579221737702392, 4.97724095928782, 4.470276789303972, 4.87476625164104, 4.482418023116814, 4.811663902990987, 4.365759616087983, 4.734151605993028, 4.560796306898774, 4.887598935927071, 4.532258457384385, 4.906789159417822, 4.526794717860262, 4.842541306144459, 4.527798222865233, 4.927652779619776, 4.919655142203137, 4.869419614586351, 4.8856431676936225, 4.716193906576376, 4.603241223854797, 4.99194363177568, 4.517677533363291, 4.920032311392495, 4.53619995954278, 4.934871350804406, 4.562809969878718, 4.943611058049121, 4.532501065840675, 4.984054818379724, 4.525469609881937, 4.967481072543271, 4.500742805011874, 4.92084512534045, 4.54219943573018, 4.866101933209588, 4.934649126928036, 4.869556809257716, 4.958391065173833, 4.857281591203283, 4.442211163077992, 4.96074323088465, 4.523647670868882, 4.872010203691071, 4.441476349075013, 4.71364771945822, 4.603514295025966, 4.895705806575044, 4.539710760109848, 4.953041020644276, 4.486339428945629, 4.847922996288915, 4.4203521576486935, 4.899976778970787, 4.571489132110436, 4.84276237193287, 4.910088357721433, 4.9034952793426685, 4.9374289074635, 4.877552276115287, 4.44431036096357, 4.984804696517822, 4.4527716424368835, 4.950431319177881, 4.564295088326235, 4.968662767827343, 4.548524149178859, 4.97722797271681, 4.485190922335181, 4.941141660011743, 4.4911293663501075, 4.864674127782482, 4.402333267329079, 4.8985975609695735, 4.400706585060878, 4.970546443079812, 4.909993726054563, 4.96131292842804, 4.819919786527618, 4.949223549545894, 4.6194487677247915, 4.941686504846993, 4.55371105845226, 4.91386015314379, 4.562838734324839, 4.921926888294538, 4.50823918387409, 4.892347631869101, 4.486043489426274, 4.859772245887631, 4.527994308753778, 4.885483055322438, 4.490641407589587, 4.834713621129128, 4.44321424107292], "meas_freq_est": [7.1177393900000006, 7.356718633000001, 6.663909214, 7.429737159, 7.122275722, 7.359569994, 6.666480355, 7.427730155000001, 7.1264337310000005, 7.361614212, 6.663004266000001, 7.429407222, 7.1220836300000006, 7.3581874030000005, 6.6644506670000005, 7.425995632, 6.735616876000001, 6.73223484, 6.73131881, 6.726271389000001, 6.9704234220000005, 7.273628876, 6.817273966, 7.201927107, 6.969616671000001, 7.277745745000001, 6.813527205000001, 7.198333438000001, 6.973430453000001, 7.276708775, 6.813669899000001, 7.202655645, 6.9661989570000005, 7.279676662000001, 6.817229513, 7.199935684000001, 6.887603684, 6.890598450000001, 6.889639955000001, 6.892373664000001, 7.115914676, 7.351485381000001, 6.661104771000001, 7.423138979722434, 7.114425458, 7.351499931, 6.660891304000001, 7.429951918, 7.111564675, 7.3517770790000005, 6.660717205, 7.428411406, 7.117590150000001, 7.3498941780000004, 6.66210165, 7.434276766000001, 6.726900174000001, 6.7280453080000004, 6.729464106, 6.730467161, 6.963420204, 7.266993395, 6.809741573, 7.193851242, 6.964777595, 7.274019594, 6.807316883, 7.190076203, 6.965802538, 7.268426418000001, 6.804493471000001, 7.195180743000001, 6.967497327, 7.275114291, 6.807593236000001, 7.195448766, 6.884959279, 6.886282266, 6.888280729000001, 6.888012783000001, 7.105308563, 7.344206885, 6.658284242000001, 7.417571068000001, 7.110777666000001, 7.34421076, 6.655930288, 7.4251786950000005, 7.113096711000001, 7.347179145, 6.656070279000001, 7.425530418, 7.110857813000001, 7.3458782220000005, 6.654641257000001, 7.421900518, 6.72495968, 6.727493506, 6.725660694, 6.7214238470000005, 6.958622207, 7.260410841000001, 6.804227283, 7.1890516600000005, 6.959827373, 7.270466331000001, 6.800735089000001, 7.191196141000001, 6.963580471, 7.267803025, 6.808508765, 7.191323046000001, 6.960224056, 7.265704824, 6.800980831, 7.18454498, 6.880886836, 6.879697053, 6.884487495, 6.887957657, 7.102284837, 7.335372380000001, 6.6572504320000006, 7.413766713, 7.0999968220000005, 7.330237379000001, 6.650621119, 7.408960858, 7.099957532, 7.334099475, 6.653071845, 7.409641601000001, 7.097663146, 7.3369714980000005, 6.654380818000001, 7.412891237, 6.718358800000001, 6.719498923000001, 6.718055551000001, 6.725150631, 6.952512487000001, 7.262912813000001, 6.7945761110000005, 7.179160744000001, 6.951041758000001, 7.260086461, 6.782920839, 7.1795064580000005, 6.960000492000001, 7.2566712650000005, 6.779550621, 7.182143336, 6.9593099370000004, 7.258523873000001, 6.775604343, 7.182864821000001], "buffer": 0, "pulse_library": [], "cmd_def": [], "meas_kernel": {"name": "hw_qmfk", "params": {}}, "discriminator": {"name": "hw_qmfk", "params": {}}, "_data": {}} |
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 2025. | ||
# | ||
# 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 Fez device (156 qubit). | ||
""" | ||
|
||
import os | ||
from qiskit_ibm_runtime.fake_provider import fake_backend | ||
|
||
|
||
class FakeFez(fake_backend.FakeBackendV2): | ||
"""A fake 156 qubit backend.""" | ||
|
||
dirname = os.path.dirname(__file__) # type: ignore | ||
conf_filename = "conf_fez.json" # type: ignore | ||
props_filename = "props_fez.json" # type: ignore | ||
defs_filename = "defs_fez.json" # type: ignore | ||
backend_name = "fake_fez" # type: ignore |
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
qiskit_ibm_runtime/fake_provider/backends/marrakesh/__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,17 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2025. | ||
# | ||
# 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 Marrakesh backend (156 qubit). | ||
""" | ||
|
||
from .fake_marrakesh import FakeMarrakesh |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_runtime/fake_provider/backends/marrakesh/conf_marrakesh.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/marrakesh/defs_marrakesh.json
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 @@ | ||
{"qubit_freq_est": [4.865212620791118, 4.453554420636109, 4.869359280794368, 4.452062481316843, 4.886067782905766, 4.493292248414742, 4.818531104839547, 4.494856203827518, 4.883957551168093, 4.3785729768999975, 4.859596666345128, 4.420526927350403, 4.82799669086944, 4.403124529464269, 4.937247355623243, 4.4935765864833295, 4.83074313277687, 4.877718020284265, 4.783037277946795, 4.85751022506666, 4.805349167616304, 4.475791414411491, 4.868765193900446, 4.401568589831163, 4.77283057994248, 4.371043661329039, 4.863365213714466, 4.513768822642762, 4.811851727461539, 4.394627515375121, 4.751534596142137, 4.388726279818778, 4.809147168987181, 4.477635262214765, 4.764697155301251, 4.260345704992297, 4.854343986464498, 4.80466704919967, 4.884151696732084, 4.788067705347174, 4.912383132743059, 4.4572829059636145, 4.904690907307726, 4.435032760974478, 4.81005333578249, 4.417920317608176, 4.723632594825061, 4.404936351719527, 4.8376796394849615, 4.4472414915215746, 4.870328531531039, 4.429485375703343, 4.862707687699966, 4.421692268140081, 4.800939944733488, 4.350117493615608, 4.826704094972366, 4.78230591282935, 4.718625545730475, 4.94956448924295, 4.697080103988097, 4.471650772555263, 4.869584182817072, 4.459633378023576, 4.8032101010054795, 4.4699799843416255, 4.804922387883799, 4.340842456704506, 4.858346315411938, 4.471068821063939, 4.893553747989056, 4.56420602484024, 4.86604989350423, 4.436075471591108, 4.847930408199995, 4.47410665045548, 4.808532828765191, 4.862971312713403, 4.7753517898312445, 4.75813757723845, 4.909071640718187, 4.450317031876282, 4.868039800933224, 4.443034406643306, 4.92556552576878, 4.444597426082494, 4.833788399831169, 4.448612894232832, 4.8766277831681455, 4.497017633139781, 4.8605261512842945, 4.477654355089219, 4.9311329710359475, 4.412908473658557, 4.8128926322000485, 4.49308982845736, 4.862015229177794, 4.771449606200871, 4.75581107352037, 4.896055979925027, 4.875872712883827, 4.517726738019991, 4.680741999906775, 4.551398754706057, 4.7227363217766545, 4.418913372720135, 4.740385249297862, 4.413035442481408, 4.852971808819299, 4.508519760127457, 4.823934617711833, 4.421359397732551, 4.830279641430127, 4.549449189243932, 4.849037126101226, 4.470540456331893, 4.890829833602823, 4.8368630324903465, 4.6497498273614095, 4.879994553766121, 4.928122196151799, 4.441968829843952, 4.827761233916979, 4.4760194835050084, 4.857267187623519, 4.456670361303841, 4.881046430644499, 4.404543463740555, 4.821538862607745, 4.409394794763024, 4.841703184232982, 4.4385392197542535, 4.836818945518574, 4.489173747385968, 4.8283853017942215, 4.383515761446301, 4.802606819335482, 4.779959953148814, 4.882369181693592, 4.702404113677927, 4.82171125742702, 4.454050551449628, 4.829058347940607, 4.518698885877059, 4.9441280797960765, 4.445679472138369, 4.804118802162725, 4.392670420117296, 4.820617732637879, 4.512970568814626, 4.8261531440029355, 4.387228610476837, 4.708434750060788, 4.455219545467419, 4.812810063934739, 4.372341007008229], "meas_freq_est": [6.95886765, 6.712246438, 7.415857955000001, 6.6375093320000005, 6.949944509000001, 6.716036301000001, 7.414328728, 6.644573177000001, 6.961021067000001, 6.7125754660000005, 7.414699644000001, 6.645586104, 6.963860161, 6.715034918000001, 7.417708717000001, 6.646677217000001, 7.318315775, 7.320929968000001, 7.326675203000001, 7.333549502, 7.097353082000001, 6.7712653970000005, 7.258257755000001, 6.862254547064646, 7.097709967, 6.782894279000001, 7.2632118850000005, 6.866021792000001, 7.108053352000001, 6.787135978, 7.263766724000001, 6.868322477, 7.105395766, 6.787327181, 7.264732934, 6.868547991000001, 7.1739447610000004, 7.182436078, 7.1845343470000005, 7.192202888000001, 6.945829742000001, 6.702350062000001, 7.398726377, 6.631860680000001, 6.939721335000001, 6.706761726000001, 7.409055887, 6.638790716000001, 6.953726702000001, 6.712042955, 7.409349758, 6.641565363000001, 6.951306860000001, 6.7179945210000005, 7.413196087, 6.646203698000001, 7.327820252, 7.330969589, 7.334155391, 7.335057956000001, 7.103348351, 6.781641701000001, 7.255004388582747, 6.861978239000001, 7.103730635000001, 6.790675023, 7.2603570930000005, 6.8703539870000006, 7.114112925000001, 6.796329362000001, 7.255157453000001, 6.877360597, 7.110965746000001, 6.7975902790000005, 7.25906113, 6.877364111, 7.174999089000001, 7.175774793, 7.184545921000001, 7.184633710000001, 6.950429726, 6.712044118000001, 7.4050117890000005, 6.6359269780000005, 6.952156477168578, 6.706437559, 7.412372922685787, 6.6428410630000005, 6.954655916, 6.710625210000001, 7.408057651, 6.646645515, 6.9565910660000005, 6.709755392000001, 7.414404435000001, 6.643110669, 7.3173527730000005, 7.316783316, 7.329604971, 7.324794024, 7.099749192000001, 6.787653938, 7.263868178, 6.868979816, 7.101867593000001, 6.788628152, 7.257411107, 6.857517745, 7.106564110000001, 6.786369153000001, 7.261544450000001, 6.862419009000001, 7.098688070000001, 6.788553487000001, 7.2700511940000005, 6.874369251, 7.183300031000001, 7.183150275, 7.188574914, 7.190475607000001, 6.946081884000001, 6.709063916000001, 7.404291509, 6.631903435000001, 6.935802637, 6.71182721, 7.410539841, 6.633793870000001, 6.941075454000001, 6.710560588000001, 7.412169116, 6.635071845000001, 6.946685583000001, 6.714888887549115, 7.406425359000001, 6.636137473000001, 7.317562667000001, 7.319021187000001, 7.320685996000001, 7.320980083, 7.0924627760000005, 6.782533639, 7.249267602000001, 6.869444276, 7.0978744350000005, 6.786372303, 7.254935505000001, 6.865325718, 7.098498449, 6.785263889, 7.242271730000001, 6.863778521, 7.097836183, 6.788735192000001, 7.249353943, 6.867982647000001], "buffer": 0, "pulse_library": [], "cmd_def": [], "meas_kernel": {"name": "hw_qmfk", "params": {}}, "discriminator": {"name": "hw_qmfk", "params": {}}, "_data": {}} |
28 changes: 28 additions & 0 deletions
28
qiskit_ibm_runtime/fake_provider/backends/marrakesh/fake_marrakesh.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 2025. | ||
# | ||
# 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 Marrakesh device (156 qubit). | ||
""" | ||
|
||
import os | ||
from qiskit_ibm_runtime.fake_provider import fake_backend | ||
|
||
|
||
class FakeMarrakesh(fake_backend.FakeBackendV2): | ||
"""A fake 156 qubit backend.""" | ||
|
||
dirname = os.path.dirname(__file__) # type: ignore | ||
conf_filename = "conf_marrakesh.json" # type: ignore | ||
props_filename = "props_marrakesh.json" # type: ignore | ||
defs_filename = "defs_marrakesh.json" # type: ignore | ||
backend_name = "fake_marrakesh" # type: ignore |
1 change: 1 addition & 0 deletions
1
qiskit_ibm_runtime/fake_provider/backends/marrakesh/props_marrakesh.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 @@ | ||
Two new fake backends, ``FakeFez`` and ``FakeMarrakesh`` have been added. These are 156 qubit Heron devices. |