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 code example in Operator docstring (backport #12985) #12991

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 19, 2024

Summary

Adds code example in the docstring of the Operator class.

Details and comments

Adds the following code example which applies an $X$ operator to the zero state:
code_example


This is an automatic backport of pull request #12985 done by [Mergify](https://mergify.com).

Co-authored-by: Elena Peña Tapia <[email protected]>
(cherry picked from commit 393fb59)
@mergify mergify bot requested a review from a team as a code owner August 19, 2024 19:16
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@github-actions github-actions bot added documentation Something is not clear or an error documentation Changelog: None Do not include in changelog Community PR PRs from contributors that are not 'members' of the Qiskit repo labels Aug 19, 2024
@coveralls
Copy link

coveralls commented Aug 19, 2024

Pull Request Test Coverage Report for Build 10468442951

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 89.826%

Totals Coverage Status
Change from base Build 10468372678: 0.02%
Covered Lines: 66806
Relevant Lines: 74373

💛 - Coveralls

@ElePT ElePT enabled auto-merge August 20, 2024 08:54
@ElePT ElePT added this pull request to the merge queue Aug 20, 2024
Merged via the queue into stable/1.2 with commit c53c1c8 Aug 20, 2024
17 checks passed
@mergify mergify bot deleted the mergify/bp/stable/1.2/pr-12985 branch August 20, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog Community PR PRs from contributors that are not 'members' of the Qiskit repo documentation Something is not clear or an error documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants