stanfordLINQS / SQcircuit

Superconducting quantum circuit analyzer
BSD 3-Clause "New" or "Revised" License
43 stars 7 forks source link

Fix issue with negative element values and fix bug with requires_grad = False but set_optim_mode True #16

Closed Alekxos closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #16 (424607a) into dev-tr (5ac9a9a) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           dev-tr      #16   +/-   ##
=======================================
  Coverage   89.22%   89.22%           
=======================================
  Files          16       16           
  Lines        1578     1578           
=======================================
  Hits         1408     1408           
  Misses        170      170           
Flag Coverage Δ
unittests 89.22% <100.00%> (ø)

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

Impacted Files Coverage Δ
SQcircuit/circuit.py 86.07% <ø> (ø)
SQcircuit/elements.py 95.73% <100.00%> (ø)
SQcircuit/tests/test_elements.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more