Incremental Quantum Circuit Compilation via Structural Similarity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing quantum computing models require quantum algorithms to be specified as quantum circuits on idealized hardware, necessitating quantum circuit compilation for each iteration, which is time-consuming and inefficient, especially for structurally identical circuits.

Innovation Solution

A method for incremental generation of quantum circuits, where a computer-implemented system detects structural similarity between submitted quantum circuits and previously compiled circuits, allowing for parametrization or compilation based on existing circuits, thereby reducing the need for full compilation each time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If quantum circuit compilation is performed for each iteration, then the quantum algorithm can be executed on actual quantum hardware, but the overall runtime increases significantly

Engineering Contradiction:
Improvequantum circuit executabilityVSAvoidcompilation runtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary compilation of quantum circuits and stores them in a database. When a new circuit is submitted, the system checks against previously compiled circuits before performing full compilation, thereby preparing and reusing compiled circuits to avoid redundant work.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a database of previously compiled quantum circuits and compares new submitted circuits against these stored copies. If a match is found, the system reuses the existing compiled circuit instead of performing full compilation, reducing runtime while maintaining executability.

Inventive Principle:
Principle #26Copying

2Manufacturing precision

If full quantum circuit compilation is performed each time, then the circuit can be optimized for hardware constraints, but structurally identical circuits are recompiled unnecessarily

Engineering Contradiction:
Improvecircuit optimizationVSAvoidcompilation efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The system stores compiled quantum circuits in a database and compares new submissions against stored copies using structural similarity metrics. When identical or similar circuits are detected, the system reuses existing compiled versions, avoiding redundant optimization work while maintaining circuit quality.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system uses parameterized comparison metrics to detect structural similarity between circuits. By changing the comparison parameters to identify structural equivalence, the system can recognize when circuits are essentially identical despite potential parameter variations, enabling efficient reuse.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If quantum circuits are compiled from scratch each iteration, then the compilation process is simple and deterministic, but the runtime for variational algorithms becomes prohibitively large

Engineering Contradiction:
Improvecompilation simplicityVSAvoidalgorithm execution time
Core Design Contradiction:
Ease of manufactureVSDuration of action of moving object

Solution Approach 1:

The system performs preliminary compilation of quantum circuits and stores results in a database. Before executing new algorithms, the system queries the database for pre-compiled circuits, thereby preparing reusable compiled versions that eliminate the need for repeated full compilation and significantly reduce total execution time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system maintains a continuous database of compiled circuits that can be reused across multiple algorithm iterations. This continuous availability of pre-compiled circuits eliminates interruptions and redundant work, allowing for continuous efficient execution without the periodic overhead of full compilation.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentEP3899812B1Incremental generation of quantum circuits
Publication Date: 2025.03.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • EP3899812B1 patent drawingFigure 1
  • EP3899812B1 patent drawingFigure 2
  • EP3899812B1 patent drawingFigure 3

AI summary

A method includes detecting submission of a first quantum circuit for compilation, the first quantum circuit comprising a first set of quantum logic gates; generating a first gate index, the first gate index comprising an ordered table of a subset of the set of quantum logic gates, each quantum logic gate of the subset of quantum logic gates including a corresponding set of qubits acted on by the quantum logic gate; comparing the first gate index with a second gate index to determine a structural equality of the first quantum circuit and the second quantum circuit; and parameterizing, in response to determining a structural equality of the first quantum circuit and the second quantum circuit, a first set of parameters of a second set of quantum logic gates of the second quantum circuit with a second set of parameters of the first set of quantum logic gates.