Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tomography kwargs #998

Merged
merged 6 commits into from
Jan 20, 2023

Conversation

chriseclectic
Copy link
Collaborator

Summary

  • Renames qubits kwarg of tomography experiments to physical_qubits to be more explicit.
  • Renames measurement_qubits and preparation_qubits kwargs of tomography experiments to measurement_indices and preparation_indices respectively. This is to avoid confusion since these args refer to the circuit qubit index in physical physical_qubits to be measurement or prepared.
  • Adds backend and analysis kwargs to StateTomography and ProcessTomography

Details and comments

@chriseclectic chriseclectic added this to the Release 0.5 milestone Dec 14, 2022
Copy link
Contributor

@ihincks ihincks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lookin' good, minor comments.

@chriseclectic chriseclectic added Changelog: API Change Include in the "Changed" section of the changelog Changelog: Deprecation Include in "Deprecated" section of changelog labels Jan 18, 2023
* Renames `qubits` kwarg of tomography experiments to `physical_qubits` to be more explicit.
* Renames `measurement_qubits` and `preparation_qubits` kwargs of tomography experiments to `measurement_indices` and `preparation_indices` respectively. This is to avoid confusion since these args refer to the circuit qubit index in physical physical_qubits to be measurement or prepared.
* Adds `backend` and `analysis` kwargs to StateTomography and ProcessTomography
Changes the default value of the analysis init kwarg for tomography experiments from None to "default". This is so that None can be used as a user supplied value to disable analysis for an experiment.
@chriseclectic chriseclectic merged commit 3f8c2aa into qiskit-community:main Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: API Change Include in the "Changed" section of the changelog Changelog: Deprecation Include in "Deprecated" section of changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants