Skip to content

Recover backend properties and noise model - #409

Closed
yao-cqc wants to merge 5 commits into
mainfrom
recover_backend_properties_and_noise_model
Closed

yao-cqc wants to merge 5 commits into
mainfrom
recover_backend_properties_and_noise_model

Conversation

@yao-cqc

@yao-cqc yao-cqc commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

Description

  • Serialised BackendProperties is now saved in the misc field of a BackendInfo.
  • Method for constructing a BackendProperties from a BackendInfo via the serialised BackendProperties.
  • Method for constructing a BackendProperties from a legacy BackendInfo.
  • Method for constructing NoiseModel from a BackendProperties

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)

Related issues

Implements #370

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

@cqc-melf

cqc-melf commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator

@yao-cqc are you still working on this, or can we close it?

@cqc-melf

cqc-melf commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

Please reopen if you want to continue to work on this.

@cqc-melf cqc-melf closed this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants