:recycle: Separate Simulation, Debugging and Diagnostics concerns further
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、既存の debug.h と diagnostics.h のインターフェースを追跡します。特に、どの診断フィールドが DDSimulationState に存在し、どのメソッドが DDDiagnostics にあるかを確認します。提案されている simulation.h の責務と、step-forward および getCurrentInstruction がどのように高レベルの操作をサポートできるかを整理します。3 つのインターフェースとそれらの DD 実装が、OpenQASM への結合を最小限にして分離されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What's the problem this feature will solve?
Currently, the debugging backend is separated into two interfaces:
debug.h and diagnostics.h. However, this separation is not perfect.
- For the DD implementation in particular, many diagnostics concerns are still stored in the
DDSimulationStateand only the actual methods and functionalities are located inDDDiagnostics. These fields should be moved
Furthermore, a third simulation interface would make sense. Currently, if we want to change to a new simulation backend, a large number of different functions have to be re-implemented, even though they can be expressed through different functions. For instance, all the "step over", "step out", "run simulation" functions can be expressed using just the "step forward" method and "getCurrentInstruction". It would be nice to separate these so that changing the simulation backend only requires a few functions to be changed.
Describe the solution you'd like
Three interfaces:
debug.h: Contains debugging-related functions, like checking assertions, running up to specific points in the code, or getting the stack tracesimulation.h: Only contains low-level simulation features, like stepping forward, backward, etc.diagnostics.h: Contains all functions related to analysing the program.
Their DD-based implementations should also be separated more clearly, and, if possibly, with only minimal coupling to the actual language used (such as OpenQASM)
- 主要言語
- C++
- スター
- 21
- フォーク
- 8
- 平均マージ
- 5時間 17分
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
munich-quantum-toolkit/debugger のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 84/100
munich-quantum-toolkit/debugger#469 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 66/100
munich-quantum-toolkit/debugger#468 ·
メンテナーはふだん 1 日以内に返信
-
✨ Improve CLI UX: line editing, function-key shortcuts, and help bar対応中かも @rturrado が 32 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
munich-quantum-toolkit/debugger#467 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
munich-quantum-toolkit/debugger#465 ·
メンテナーはふだん 1 日以内に返信
-
c++ enhancement help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
munich-quantum-toolkit/debugger#168 ·
メンテナーはふだん 1 日以内に返信
munich-quantum-toolkit/debugger の issue をすべて見る
似ている issue
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB Macsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
champion good first issue remake source/qq
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
metasequoiaime/msime-windows#1025 ·
メンテナーはふだん 1 日以内に返信
-
backlog bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
EchoTools/nevr-runtime#653 ·
メンテナーはふだん 1 日以内に返信
-
`--fail-require-skip` never fires: run_tests.py searches stdout, but the unittest binary writes the skip summary to stderr対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
InfiniTimeOrg/InfiniTime#2492 ·