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

Format synthesis docs #11755

Merged
merged 19 commits into from Feb 15, 2024
Merged

Format synthesis docs #11755

merged 19 commits into from Feb 15, 2024

Conversation

ElePT
Copy link
Contributor

@ElePT ElePT commented Feb 8, 2024

Summary

This PR adds missing format (API docs links, code formatting) found in different synthesis docstrings during the review of #11719. All minor fixes (low priority), but would be nice to get into the 1.0 docs if possible.

Details and comments

@ElePT ElePT added documentation Something is not clear or an error documentation priority: low Changelog: None Do not include in changelog labels Feb 8, 2024
@ElePT ElePT added this to the 1.0.0 milestone Feb 8, 2024
@qiskit-bot
Copy link
Collaborator

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

  • @Qiskit/terra-core
  • @levbishop

@coveralls
Copy link

coveralls commented Feb 8, 2024

Pull Request Test Coverage Report for Build 7909082546

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 57 (100.0%) changed or added relevant lines in 19 files are covered.
  • 22 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.007%) to 89.193%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 3 91.69%
qiskit/providers/fake_provider/generic_backend_v2.py 7 94.5%
crates/qasm2/src/parse.rs 12 95.77%
Totals Coverage Status
Change from base Build 7893751411: -0.007%
Covered Lines: 58838
Relevant Lines: 65967

💛 - Coveralls

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.

Thanks for all this Elena - always good to have docs problems squashed.

qiskit/synthesis/clifford/clifford_decompose_bm.py Outdated Show resolved Hide resolved
qiskit/synthesis/clifford/clifford_decompose_full.py Outdated Show resolved Hide resolved
qiskit/synthesis/clifford/clifford_decompose_full.py Outdated Show resolved Hide resolved
qiskit/synthesis/clifford/clifford_decompose_full.py Outdated Show resolved Hide resolved
qiskit/synthesis/clifford/clifford_decompose_layers.py Outdated Show resolved Hide resolved
qiskit/synthesis/stabilizer/stabilizer_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/unitary/qsd.py Outdated Show resolved Hide resolved
@jakelishman jakelishman added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Feb 8, 2024
Co-authored-by: Jake Lishman <jake@binhbar.com>
qiskit/synthesis/clifford/clifford_decompose_full.py Outdated Show resolved Hide resolved
qiskit/synthesis/clifford/clifford_decompose_full.py Outdated Show resolved Hide resolved
qiskit/synthesis/linear/cnot_synth.py Show resolved Hide resolved
qiskit/synthesis/linear_phase/cnot_phase_synth.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
qiskit/synthesis/two_qubit/two_qubit_decompose.py Outdated Show resolved Hide resolved
ElePT and others added 3 commits February 14, 2024 09:52
@ElePT ElePT requested a review from ikkoham as a code owner February 14, 2024 09:31
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.

Thanks for all this Elena and everyone else who read through and helped find fixes. I imagine we could probably keep making changes to the documentation forever if we try, so I propose we merge this PR as-is now so it lands for 1.0.0 final, and we can open new PRs to fix up more things if we need to later.

@jakelishman jakelishman added this pull request to the merge queue Feb 15, 2024
Merged via the queue into Qiskit:main with commit 694de7c Feb 15, 2024
12 checks passed
mergify bot pushed a commit that referenced this pull request Feb 15, 2024
* Format synthesis docs.

* Apply suggestions from Jake's code review

Co-authored-by: Jake Lishman <jake@binhbar.com>

* Apply rest of review comments

* Fix lint, latexify ~

* Apply suggestions from code review

* Revert bug in TwoQubitWeylfSimabmbEquiv

* Apply inline suggestions from Julien's code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Finish applying Julien's suggestions

* Apply suggestions from Shelly's code review

* inline typehints for synth docs

* Update qiskit/synthesis/clifford/clifford_decompose_ag.py

Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com>

* Apply review comments from Shelly

* Make lint happy?

* Fix black

* Remove unnecessary indentation

* Fix backslash in non-raw string

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com>
(cherry picked from commit 694de7c)
github-merge-queue bot pushed a commit that referenced this pull request Feb 15, 2024
* Format synthesis docs.

* Apply suggestions from Jake's code review

Co-authored-by: Jake Lishman <jake@binhbar.com>

* Apply rest of review comments

* Fix lint, latexify ~

* Apply suggestions from code review

* Revert bug in TwoQubitWeylfSimabmbEquiv

* Apply inline suggestions from Julien's code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Finish applying Julien's suggestions

* Apply suggestions from Shelly's code review

* inline typehints for synth docs

* Update qiskit/synthesis/clifford/clifford_decompose_ag.py

Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com>

* Apply review comments from Shelly

* Make lint happy?

* Fix black

* Remove unnecessary indentation

* Fix backslash in non-raw string

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com>
(cherry picked from commit 694de7c)

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.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 changelog documentation Something is not clear or an error documentation priority: low stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants