Qulacs-Osaka / scikit-qulacs

scikit-qulacs is a library for quantum neural network. This library is based on qulacs and named after scikit-learn.
https://qulacs-osaka.github.io/scikit-qulacs/index.html
MIT License
21 stars 6 forks source link

Replace Pauli([0], [1]) with X gate #269

Closed ikanago closed 1 year ago

ikanago commented 1 year ago

なぜか複数量子ビットに対するパウリゲートを使っており,このゲートは get_inverse() を持っていないためベンチマークが通りませんでした(). 単に X ゲートを作用させればよいので,add_X_gate() に置き換えました.

codecov[bot] commented 1 year ago

Codecov Report

Merging #269 (ecb4e4e) into main (deda16a) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #269   +/-   ##
=======================================
  Coverage   92.54%   92.54%           
=======================================
  Files          12       12           
  Lines         993      993           
  Branches      191      189    -2     
=======================================
  Hits          919      919           
  Misses         41       41           
  Partials       33       33           

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