Code source de qiskit.providers.fake_provider.backends.paris.fake_paris
# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
#
# 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 Paris device (20 qubit).
"""
import os
from qiskit.providers.fake_provider import fake_pulse_backend, fake_backend
[docs]class FakeParisV2(fake_backend.FakeBackendV2):
"""A fake Paris backend.
.. code-block:: text
06 17
β β
00 β 01 β 04 β 07 β 10 β 12 β 15 β 18 β 20 β 23
β β β
02 13 24
β β β
03 β 05 β 08 β 11 β 14 β 16 β 19 β 22 β 25 β 26
β β
09 20
"""
dirname = os.path.dirname(__file__)
conf_filename = "conf_paris.json"
props_filename = "props_paris.json"
defs_filename = "defs_paris.json"
backend_name = "fake_paris"
[docs]class FakeParis(fake_pulse_backend.FakePulseBackend):
"""A fake Paris backend.
.. code-block:: text
06 17
β β
00 β 01 β 04 β 07 β 10 β 12 β 15 β 18 β 20 β 23
β β β
02 13 24
β β β
03 β 05 β 08 β 11 β 14 β 16 β 19 β 22 β 25 β 26
β β
09 20
"""
dirname = os.path.dirname(__file__)
conf_filename = "conf_paris.json"
props_filename = "props_paris.json"
defs_filename = "defs_paris.json"
backend_name = "fake_paris"