Statistical test of the full sampling distribution

オープン 初心者向け
#22 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
testing

調査の方向性

サンプリングの実装、特に sample_index と、Bell状態および半分の重ね合わせ状態を確認する既存のサンプリングテストを読みます。シードを固定した5~6量子ビット状態について、サンプリングされた件数を probabilities() と比較するカイ二乗適合度検定を行い、その後、確率ゼロの結果を含むケースを追加します。両方のテストが通り、確率ゼロの結果が一度も現れなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement
What you want to do

Sampling is only tested on two-outcome states (Bell, half-superposition) by checking one mean. A
bug that biases outcomes with many possibilities (for example an off-by-one in sample_index
near the ends of the cumulative array) would pass.

What it could look like

A test that prepares a random state on 5–6 qubits, samples 100k shots with a fixed seed, and runs a
chi-square goodness-of-fit test against probabilities(). Add a second case with some
zero-probability outcomes, which must never appear.

What it could look like
No API change.
Contributing
  • I would like to open a pull request for this (see CONTRIBUTING.md).
主要言語
Rust
スター
1
フォーク
0
平均マージ
12分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kaiwave/qsengine のほかの issue

kaiwave/qsengine の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。