Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[DISCUSSION] Support for transforming QASM to other IRs

Abierto
#212 3 comentarios 2 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
compilers

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
29
Forks
33
Merge medio
2 d 4 h
PR fusionados (30 d)
15

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de qBraid/pyqasm

Todos los issues de qBraid/pyqasm

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.