Discovery: can we pull this into qcs-sdk-rust and replace all calls to RPCQ?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
まず qcs-sdk-rust の compile_program と get_version_info のエントリポイントを確認し、続いてブロッキング issue #8 と #12、および関連する issue #7、#9、#10 を読みます。残りの RPCQ 呼び出しを置き換えられるかを判断し、不足している前提条件を特定し、未解決のギャップについてフォローアップ issue を記録します。
索引モデルが issue の本文から書いたものです。
説明
As is, can we pull this in to qcs-sdk-rust to replace the remaining RPCQ calls?
If yes, we can start planning to integrate it into qcs-sdk-rust properly
If not, whats missing? Create follow-up issues to track filling the gaps.
Discovery
The following issues were created as part of this discovery:
#7, #8, #9, #10, #12
#12 is a blocker from taking this any further. Having #8 would also be nice to understand as part of this discovery.
Assuming we can resolve the above issues, my confidence is high that this would replace RPCQ in qcs-sdk-rust. There are two functions that make RPCQ calls:
compile_program:
This is where we would need #8 and #12, but the implementation would look something like:
pub(crate) fn compile_program(
quil: &str,
isa: TargetDevice,
_options: CompilerOpts,
) -> Result<quil_rs::Program, Error> {
let quilc_program = parse_program(quil.to_string());
let chip = get_chip_spec_from_isa_descriptor(&isa); # needs issue #8
let compiled_program = quilc_compile_program(&quilc_program, &chip);
compiled_program.into() # needs #12
}
get_version_info
This function becomes unnecessary, as there is no need to check the version of quilc for compatibility if it is an embedded dependency. We can deprecate this and return a mock value if needed.
- 主要言語
- Rust
- スター
- 1
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rigetti/libquil-sys のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
rigetti/libquil-sys#64 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
rigetti/libquil-sys#48 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rigetti/libquil-sys#29 ·
-
Cache chip specsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rigetti/libquil-sys#28 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
rigetti/libquil-sys#26 ·
rigetti/libquil-sys の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Automattic/harper#4503 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 2 日以内に返信