How sai-krishna-131006/aqft-hardware-aware-optimization works
This repository is a quantum-circuit optimization research project. Its main workflow builds exact and approximate QFT circuits, evaluates approximation error, and compares logical and hardware-constrained costs to find configurations within error budgets. Experiments explore degree-based, threshold-based, and selective gate removal; separate analysis and QPU runs extend the evaluation. The graph focuses on evidenced runtime relationships. Some experiment modules and analysis paths are indexed but not excerpted, so their detailed internal wiring is not asserted.
Main entry points: aqft_builder.py AQFT variants · qft_builder.py Exact QFT · run_final_qpu.py QPU experiment · final_5q_comparison.py 5-qubit comparison
Components 21
Circuit construction
- Exact QFT
src/qft_builder.py - AQFT variants
src/aqft_builder.py
AQFT experiments
- 5-qubit comparison
experiments/final_5q_comparison.py - 6-qubit comparison
experiments/final_6q_selective.py - 8-qubit comparison
experiments/final_8q_selective.py - Unified search
experiments/unified_selective_experiment.py - Degree sweep
experiments/aqft_degrees.py - Threshold sweep
experiments/aqft_thresholds.py - Fine threshold sweep
experiments/fine_threshold_sweep.py
Hardware evaluation
- LNN transpilation
experiments/transpilation_experiment.py - Hardware selection
experiments/hardware_aware_selection.py - Hardware experiments
hardware/run_aqft_hardware.py
Results analysis
- Degree analysis
experiments/analyze_degrees.py - Threshold analysis
experiments/analyze_thresholds.py - Hardware trade-off analysis
experiments/analyze_hardware_tradeoff.py - Transpilation analysis
experiments/analyze_transpilation.py
QPU execution
- QPU experiment
hardware/run_final_qpu.py - Selected configurations
results/hardware_aware_selection.csv - QPU results
results/aqft_qpu_results.csv
Other components
- Researcher
- IBM Quantum service
Connections 25
- Researcher → 5-qubit comparison: runs comparison
- 5-qubit comparison → Exact QFT: builds exact QFT
experiments/final_5q_comparison.py - 5-qubit comparison → AQFT variants: builds AQFT variants
experiments/final_5q_comparison.py - 6-qubit comparison → Exact QFT: builds exact QFT
experiments/final_6q_selective.py - 6-qubit comparison → AQFT variants: builds AQFT variants
experiments/final_6q_selective.py - 8-qubit comparison → Exact QFT: builds exact QFT
experiments/final_8q_selective.py - 8-qubit comparison → AQFT variants: builds AQFT variants
experiments/final_8q_selective.py - Unified search → Exact QFT: builds exact QFT
experiments/unified_selective_experiment.py - Unified search → AQFT variants: builds AQFT variants
experiments/unified_selective_experiment.py - Degree sweep → AQFT variants: generates degree variants
experiments/aqft_degrees.py - Threshold sweep → AQFT variants: generates threshold variants
experiments/aqft_thresholds.py - Fine threshold sweep → AQFT variants: builds threshold circuits
experiments/fine_threshold_sweep.py - Fine threshold sweep → Exact QFT: builds exact circuits
experiments/fine_threshold_sweep.py - LNN transpilation → AQFT variants: builds candidate circuits
experiments/transpilation_experiment.py - LNN transpilation → Exact QFT: builds exact circuits
experiments/transpilation_experiment.py - Hardware selection → AQFT variants: selects configurations
- Hardware experiments → AQFT variants: evaluates AQFT
- Researcher → Degree analysis: analyzes results
- Researcher → Threshold analysis: analyzes results
- Researcher → Hardware trade-off analysis: analyzes results
- Researcher → Transpilation analysis: analyzes results
- QPU experiment → Selected configurations: reads selections
hardware/run_final_qpu.py - QPU experiment → AQFT variants: rebuilds candidates
hardware/run_final_qpu.py - QPU experiment → IBM Quantum service: submits circuits
hardware/run_final_qpu.py - QPU experiment → QPU results: writes measurements
hardware/run_final_qpu.py