[FEATURE] Recommend most suitable device architecture for a given QASM program

Open
#221 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

The issue names no files or entry points, so start by reading how pyqasm parses and analyzes OpenQASM 3 programs to see which metrics (qubit count, depth, two-qubit gate count) are already available. The main open question is the architecture reference list and the scoring rules, which needs a maintainer decision first. Done would mean a ranked list of architectures with stated reasoning, but the scope is not settled, so check with maintainers before starting.

Written by the indexing model from the issue text.

Description

enhancement llm-assisted
Feature Description

This feature for PyQASM will automatically analyze a given QASM quantum program and recommend the most suitable quantum computing hardware architecture for its execution. The system evaluates the structural and operational needs of the circuit—such as qubit interactions, gate depth, and entanglement patterns—and matches these to the strengths of leading quantum hardware platforms (e.g., superconducting, trapped ion, photonic, neutral atom). The recommendation helps users deploy or optimize their algorithms on platforms where they are most likely to perform well.

Implementation (Optional)
Architecture List:
  • Define a reference list of leading quantum hardware architectures and annotate their key strengths (e.g., superconducting: fast gates; trapped ion: all-to-all connectivity; photonic: measurement-based computation).
QASM Analysis:
  • Parse the QASM program to extract attributes such as number of qubits (width), circuit depth, total and 2-qubit gate count, entanglement density (e.g., number of entangling gates or estimated entropy per layer), and interaction/connectivity maps.
  • Optionally, detect specialized circuit features (e.g., parallelism, measurement-heavy sections).
Matching Logic:
  • Compare extracted attributes against the strengths and limitations of each architecture using rules/weighted scores (e.g., favor neutral atom or trapped ion for dense entanglement; superconducting for high parallelism; photonic for measurement-based patterns).
  • Generate a ranked list with explanations for each recommendation.
User Output:
  • Display the recommended architecture(s) along with a summary of the reasoning (for transparency and further user optimization).
Dominant language
Python
Stars
29
Forks
33
Avg merge
1d 20h
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from qBraid/pyqasm

All issues in qBraid/pyqasm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.