Cirq simulation regressions
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- performance, testing
調査の方向性
Start with the listed tests in qualtran.bloqs.hamiltonian_simulation, qualtran.bloqs.rotations, qualtran.bloqs.phase_estimation, qualtran.bloqs.qubitization, and qualtran.bloqs.reflections, then read the Cirq upgrade workaround in #1761 and related issues #1488, #1336, #1737, and #1495. Compare the affected simulation performance and failures to the earlier behavior. Done means the listed regressions and SIGKILL failures are addressed, potentially by using native Qualtran tensor contraction in the unit tests.
索引モデルが issue の本文から書いたものです。
説明
This issue tracks problems that had to be worked around to bump our Cirq version from 1.4 onwards in #1761. Note that many unit tests in the qualtran.bloqs quantum standard library use a Cirq simulator for numerical simulation. A way forward might be to re-work these unit tests to use native Qualtran tensor contraction.
Note: the performance regressions are likely a consequence of the kludge needed in #1761.
Performance regressions
qualtran.bloqs.hamiltonian_simulation.hamiltonian_simulation_by_gqsp_test.test_hamiltonian_simulation_by_gqspqualtran.bloqs.rotations.hamming_weight_phasing_test.test_hamming_weight_phasingn=6, 7now marked asslow
Tests marked slow that likely got slower
qualtran.bloqs.phase_estimation.qubitization_qpe_test.test_qubitization_phase_estimation_of_walk(also see #1495)qualtran.bloqs.phase_estimation.text_book_qpe_test.test_textbook_phase_estimation_qubitized_walk(also see #1495)qualtran.bloqs.qubitization.qubitization_walk_operator_test.test_qubitization_walk_operator
Breakages
qualtran.bloqs.reflections.reflection_using_prepare_test.test_reflection_using_preparenow gets SIGKILL -ed. See #1737qualtran.bloqs.rotations.hamming_weight_phasing_test.test_hamming_weight_phasingn=8causes SIGKILLqualtran.bloqs.rotations.phasing_via_cost_function_test.test_hamming_weight_phasing_using_phase_via_cost_functionqualtran.bloqs.rotations.quantum_variable_rotation_test.test_qvr_phase_gradient_cost_reg_greater_than_b_grad
Related issues
- #1488 -- If Cirq is allowed to decompose gates, it often gets down to
And(uncompue=True)which says that it's not unitary. #1761 "fixes" this by doing tensor contraction in Qualtran and giving a big tensor to Cirq. This causes performance regression - #1336 -- The Cirq simulator is often faster for small-qubit-count circuits since it decomposes and simulates in one fell swoop instead of constructing a tensor network and then having quimb contract it
- 主要言語
- Python
- スター
- 397
- フォーク
- 127
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quantumlib/Qualtran のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
quantumlib/Qualtran#2007 ·
メンテナーはふだん 3 日以内に返信
-
Addition call_graph inconsistent with decomposition for registers with unequal bitsizes再び着手できるかも @rupasri118 が 56 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンkind/bug-report
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
quantumlib/Qualtran#1818 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
quantumlib/Qualtran#2008 ·
メンテナーはふだん 3 日以内に返信
-
kickmix: `Circuit.reaction_depth()` materialises every op (≈ 135–170 B/op transient), limiting verifiable circuit size対応中かも @manwithacat が 27 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
quantumlib/Qualtran#1993 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
quantumlib/Qualtran#1991 ·
メンテナーはふだん 3 日以内に返信
quantumlib/Qualtran の issue をすべて見る
似ている issue
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
jxxghp/MoviePilot#7576 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
jbaruch/software-factory#266 ·
メンテナーはふだん 1 日以内に返信
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信