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

Fix some examples in docstrings #480

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Fix some examples in docstrings #480

merged 1 commit into from
Oct 5, 2021

Conversation

mlazzarin
Copy link
Contributor

In this PR I fixed some broken examples in the docstrings. I haven't made an exhaustive search so some examples may still be broken.

Let me know if it is all ok, in particular with the VariationalLayer (I had to change a lot to fix it)

@mlazzarin mlazzarin added the documentation Improvements or additions to documentation label Oct 5, 2021
@mlazzarin mlazzarin self-assigned this Oct 5, 2021
@codecov
Copy link

codecov bot commented Oct 5, 2021

Codecov Report

Merging #480 (328d487) into docsupdates (a5e6ecb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##           docsupdates      #480   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               85        85           
  Lines            12084     12084           
=============================================
  Hits             12084     12084           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/qibo/abstractions/callbacks.py 100.00% <ø> (ø)
src/qibo/abstractions/gates.py 100.00% <ø> (ø)
src/qibo/models/evolution.py 100.00% <ø> (ø)
src/qibo/models/grover.py 100.00% <ø> (ø)
src/qibo/models/variational.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5e6ecb...328d487. Read the comment docs.

Copy link
Member

@scarrazza scarrazza left a comment

Choose a reason for hiding this comment

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

Thanks @mlazzarin looks good to me.

@scarrazza scarrazza merged commit 378d59a into docsupdates Oct 5, 2021
@scarrazza scarrazza deleted the fixexamples branch October 5, 2021 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants