qiskit-community / qiskit-dynamics

Tools for building and solving models of quantum systems in Qiskit
https://qiskit-community.github.io/qiskit-dynamics/
Apache License 2.0
105 stars 61 forks source link

Remove subsystem_labels option from DynamicsBackend #248

Closed DanPuzzuoli closed 1 year ago

DanPuzzuoli commented 1 year ago

Summary

Closes #235

Details and comments (out of date, see next comment)

This is currently a draft to prototype a potential solution to #235, in which the subsystem_labels option is removed, and all qubits removed via the subsystem_list argument of from_backend are actually "kept" as trivial 1-dimensional systems.

So far:

Initial testing in a jupyter notebook seems to indicate that this behaves as expected:

To do:

Question:

DanPuzzuoli commented 1 year ago

I've now implemented all of the above changes. Here is the summary:

Luckily this change doesn't impact any of the numerical functionality. In addition to the above:

I've also added an upgrade release note explaining this change.