Open yao-cqc opened 3 weeks ago
BackendProperties
BackendInfo
NoiseModel
Example
from pytket.extensions.qiskit import IBMQBackend from pytket.extensions.qiskit.qiskit_convert import ( backend_properties_from_backendinfo, backend_properties_from_legacy_backendinfo, noise_model_from_backend_properties, ) b = IBMQBackend("ibm_brisbane") bp1 = backend_properties_from_legacy_backendinfo(b.backend_info) bp2 = backend_properties_from_backendinfo(b.backend_info) noise_model1 = noise_model_from_backend_properties(bp1) noise_model2 = noise_model_from_backend_properties(bp2)
Implements #370
Description
BackendProperties
is now saved in the misc field of aBackendInfo
.BackendProperties
from aBackendInfo
via the serialisedBackendProperties
.BackendProperties
from a legacyBackendInfo
.NoiseModel
from aBackendProperties
Example
Related issues
Implements #370
Checklist