QuantumBFS / Yao.jl

Extensible, Efficient Quantum Algorithm Design for Humans.
https://yaoquantum.org
Other
910 stars 118 forks source link

Include YaoPlots as a component package #493

Closed GiggleLiu closed 4 months ago

GiggleLiu commented 4 months ago

List of changes

  1. Include YaoPlots as a component package. image

The using time increased from 0.68s to 0.9s on my machine.

julia> @time using Yao
  0.901292 seconds (1.28 M allocations: 86.938 MiB, 5.83% gc time, 22.79% compilation time: 94% of which was recompilation)
  1. Fixed some of the documentation.
codecov[bot] commented 4 months ago

Codecov Report

Attention: 62 lines in your changes are missing coverage. Please review.

Comparison is base (e17a32b) 89.03% compared to head (69f1bf5) 88.75%. Report is 1 commits behind head on master.

Files Patch % Lines
lib/YaoPlots/src/vizcircuit.jl 82.17% 54 Missing :warning:
src/EasyBuild/block_extension/shortcuts.jl 25.00% 3 Missing :warning:
lib/YaoPlots/src/bloch.jl 98.03% 2 Missing :warning:
lib/YaoPlots/src/YaoPlots.jl 66.66% 1 Missing :warning:
lib/YaoPlots/src/helperblock.jl 94.11% 1 Missing :warning:
src/EasyBuild/block_extension/FSimGate.jl 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #493 +/- ## ========================================== - Coverage 89.03% 88.75% -0.29% ========================================== Files 83 87 +4 Lines 4835 5264 +429 ========================================== + Hits 4305 4672 +367 - Misses 530 592 +62 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

GiggleLiu commented 4 months ago

The YaoBlocks test breaks on nightly, which is due to an error in Zygote.