QuantumBFS / Yao.jl

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

fix autodiff apply, fix a docstring error #478

Closed GiggleLiu closed 11 months ago

GiggleLiu commented 11 months ago

@Roger-luo we need to release a patch fix since a student needs to use this feature for development.

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (b971dd4) 88.88% compared to head (44d410f) 88.88%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #478 +/- ## ======================================= Coverage 88.88% 88.88% ======================================= Files 83 83 Lines 4840 4841 +1 ======================================= + Hits 4302 4303 +1 Misses 538 538 ``` | [Files Changed](https://app.codecov.io/gh/QuantumBFS/Yao.jl/pull/478?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=QuantumBFS) | Coverage Δ | | |---|---|---| | [lib/YaoBlocks/src/blocktools.jl](https://app.codecov.io/gh/QuantumBFS/Yao.jl/pull/478?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=QuantumBFS#diff-bGliL1lhb0Jsb2Nrcy9zcmMvYmxvY2t0b29scy5qbA==) | `88.42% <ø> (ø)` | | | [lib/YaoBlocks/src/autodiff/apply\_back.jl](https://app.codecov.io/gh/QuantumBFS/Yao.jl/pull/478?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=QuantumBFS#diff-bGliL1lhb0Jsb2Nrcy9zcmMvYXV0b2RpZmYvYXBwbHlfYmFjay5qbA==) | `96.33% <100.00%> (ø)` | | | [lib/YaoBlocks/src/autodiff/chainrules\_patch.jl](https://app.codecov.io/gh/QuantumBFS/Yao.jl/pull/478?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=QuantumBFS#diff-bGliL1lhb0Jsb2Nrcy9zcmMvYXV0b2RpZmYvY2hhaW5ydWxlc19wYXRjaC5qbA==) | `86.15% <100.00%> (+0.10%)` | :arrow_up: | | [lib/YaoBlocks/src/composite/kron.jl](https://app.codecov.io/gh/QuantumBFS/Yao.jl/pull/478?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=QuantumBFS#diff-bGliL1lhb0Jsb2Nrcy9zcmMvY29tcG9zaXRlL2tyb24uamw=) | `95.34% <100.00%> (ø)` | |

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