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

Add documentation for density matrix #1738

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

hitomitak
Copy link
Contributor

@hitomitak hitomitak commented Mar 9, 2023

Summary

#1732 added AerDensityMatrix but its docs are not maintained.
This PR adds docs that sphnix can include this class in Aer's docs.

Details and comments

AerDensityMatrix included the same description with DensityMatrix for the same method. Because AerDensityMatrix inherits DensityMatrix, such description is not necessary.

In addition, qiskit_aer/quantum_info/__init__.py did not list AerDensityMatrix and this PR adds it.

Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks - it's good to clear out the docstrings when they're just being inherited anyway, yeah.

@jakelishman jakelishman merged commit dafe9a3 into Qiskit:main Mar 9, 2023
@jakelishman jakelishman added documentation Something is not clear or error in description Changelog: None PRs that don't have an associated changelog entry. labels Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None PRs that don't have an associated changelog entry. documentation Something is not clear or error in description
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants