qulacs / qulacs-rtd

Qulacs documentation for readthedocs. Configured to support automatically generate C++/Python API, and internationalization.
MIT License
3 stars 3 forks source link

QuantumState tutorial #43

Closed KowerKoint closed 1 year ago

KowerKoint commented 1 year ago

指示:

o0 copy
o0 multiply_elementwise_function
o0 sampling(count, seed)
+0 get_amplitude
o0 StateVector

copyはAdvancedに言及はありましたが使用例はなかったのでTutorialのほうでわかりやすくやりました StateVectorはコンストラクタということにはなっていないものの同じ引数列でQuantumStateのオブジェクトを作っていて本当にただの別名になっているだけなので書きませんでした StateVector()をつかって初期化している人もいるかもしれないのでわざわざ削除はしなくてもいいと思いますが、あえて使わせる意味もないです…