C贸digo fuente para 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


[documentos]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"
[documentos]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"