Skip to content

Formatting and typo issues in qiskit.transpiler.Target#11164

Merged
jakelishman merged 4 commits into
Qiskit:mainfrom
1ucian0:small_change_docs/8
Nov 4, 2023
Merged

Formatting and typo issues in qiskit.transpiler.Target#11164
jakelishman merged 4 commits into
Qiskit:mainfrom
1ucian0:small_change_docs/8

Conversation

@1ucian0
Copy link
Copy Markdown
Member

@1ucian0 1ucian0 commented Nov 1, 2023

Summary

Some small typo issues in qiskit.transpiler.Target

@1ucian0 1ucian0 added documentation Something is not clear or an error documentation stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge. Changelog: None Do not include in the GitHub Release changelog. labels Nov 1, 2023
@1ucian0 1ucian0 added this to the 0.45.0 milestone Nov 1, 2023
@1ucian0 1ucian0 requested a review from a team as a code owner November 1, 2023 11:29
@qiskit-bot
Copy link
Copy Markdown
Collaborator

One or more of the the following people are requested to review this:

  • @Qiskit/terra-core

Comment thread qiskit/transpiler/target.py Outdated
if None not in self.qargs and any(len(x) > 2 for x in self.qargs):
logger.warning(
"This Target object contains multiqubit gates that "
"This Target object contains multi-qubit gates that "
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"multiqubit" is fine (especially in US English), it's just a constructed word.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also a small note here, should this change stay, the log assert in the target unit test would have to be modified to add the hyphen (this is why CI currently fails): https://github.com/Qiskit/qiskit/blob/main/test/python/transpiler/test_target.py#L558

Comment thread qiskit/transpiler/target.py Outdated
@ElePT ElePT mentioned this pull request Nov 2, 2023
13 tasks
@ElePT ElePT modified the milestones: 0.45.0, 0.45.1 Nov 2, 2023
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 6749880230

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 21 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.02%) to 86.937%

Files with Coverage Reduction New Missed Lines %
qiskit/extensions/quantum_initializer/squ.py 2 84.15%
crates/qasm2/src/lex.rs 7 91.16%
crates/qasm2/src/parse.rs 12 97.13%
Totals Coverage Status
Change from base Build 6747766403: -0.02%
Covered Lines: 74367
Relevant Lines: 85541

💛 - Coveralls

@jakelishman jakelishman added this pull request to the merge queue Nov 4, 2023
Merged via the queue into Qiskit:main with commit 2818cf0 Nov 4, 2023
mergify Bot pushed a commit that referenced this pull request Nov 4, 2023
* formatting and typo issues in qiskit.transpiler.Target

* #11164 (comment)

* #11164 (comment)

(cherry picked from commit 2818cf0)
github-merge-queue Bot pushed a commit that referenced this pull request Nov 4, 2023
* formatting and typo issues in qiskit.transpiler.Target

* #11164 (comment)

* #11164 (comment)

(cherry picked from commit 2818cf0)

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
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 the GitHub Release changelog. documentation Something is not clear or an error documentation stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants