Qaintum / Qaintessent.jl

Digital quantum circuit simulator written in Julia
Apache License 2.0
30 stars 8 forks source link

Updating circuit gradient to match Zygote interface #132

Closed keefehuang closed 2 years ago

keefehuang commented 2 years ago

Update gradients to accept AbstractArray instead of Vector{Real}

codecov[bot] commented 2 years ago

Codecov Report

Merging #132 (7ad4654) into master (3e06974) will decrease coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
- Coverage   98.42%   98.37%   -0.05%     
==========================================
  Files          26       26              
  Lines        4011     4011              
==========================================
- Hits         3948     3946       -2     
- Misses         63       65       +2     
Impacted Files Coverage Δ
src/gradients.jl 100.00% <100.00%> (ø)
src/openqasm/transform_cgc.jl 93.54% <0.00%> (-6.46%) :arrow_down:

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 f09f30f...7ad4654. Read the comment docs.