Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Discovery: can we pull this into qcs-sdk-rust and replace all calls to RPCQ?

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
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:

  1. 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
}
  1. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

rigetti/libquil-sys のほかの issue

rigetti/libquil-sys の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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