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

[DISCUSSION] Support for transforming QASM to other IRs

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
compilers

調査の方向性

This is an open discussion, not a defined change, so there is no code to start from. The issue links src/ucc_ft/checker.py in the separate ucc-ft project, which subclasses the openqasm3 printer visitor; read that to understand the current workaround. Done would be a maintainer decision on whether pyqasm should offer a QASM-to-IR visitor or translation API, and that decision is not in the thread.

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

説明

In ucc-ft, we are prototyping a tool to check the fault tolerance of a quantum circuit that implements an aspect of an error correcting code. This example) is checking if circuit implementing state preparation for the surface code fault tolerant. ucc-ft relies internally on an existing Julia package to do the check. That package uses its own representation for quantum programs.

The current heavy lifting in ucc-ft is converting from QASM to this Julia representation (called qprog). It does so by customizing the printer visitor that is part of openqasm3 package.

The approach so far is a bit of a hack, so in opening this discussion, curious if this translating use case is one pyqasm supports/intends to support, or if not directly, if some components in pyqasm would be useful to build on top of.

Note that this QASM -> qprog approach might change over time if we decide to shift the implementation to python. In that case, symbolically executing the QASM could would be the next challenge.

主要言語
Python
スター
29
フォーク
33
平均マージ
2日 4時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

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

qBraid/pyqasm のほかの issue

qBraid/pyqasm の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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