Next Article in Journal
Effectiveness of Electrode Design Methodologies for Fast EDM Slotting of Thick Silicon Wafers
Previous Article in Journal
Mitigating Long-Term Forecasting Bias in Time-Series Neural Networks via Ensemble of Short-Term Dependencies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

QELPS Algorithm: A Novel Dynamic Optimization Technology for Quantum Circuits Scheduling Engineering Problems

1
School of Computer and Information Engineering, Harbin University of Commerce, Harbin 150028, China
2
Heilongjiang Provincial Key Laboratory of Electronic Commerce and Information Processing, Harbin 150028, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(11), 6373; https://doi.org/10.3390/app15116373
Submission received: 7 April 2025 / Revised: 28 May 2025 / Accepted: 3 June 2025 / Published: 5 June 2025

Abstract

In the noisy medium-scale quantum era, quantum computers are constrained by a limited number of qubits, restricted physical topological structures, and interference from environmental noise, making efficient and stable circuit scheduling a significant challenge. To improve the feasibility of quantum computing, it is essential to optimize the scheduling of quantum gates and the insertion of SWAP gates, reducing running time and enhancing computational efficiency. We propose a collaborative optimization framework that integrates the Quantum Exchange Lock Parallel Scheduler (QELPS) with the Full-level Joint Optimization SWAP Algorithm (FJOSA). In QELPS, SWAP conflict characteristics are used to adjust the layout of quantum gates across different levels while considering physical constraints and dynamically adapting to the circuit’s execution state. Quantum lock parallel technology enables the selective postponement of certain quantum gates, minimizing circuit depth and mitigating inefficiencies caused by excessive SWAP gate insertions. Meanwhile, FJOSA employs a cross-layer optimization strategy that combines heuristic algorithms with cost functions to improve gate scheduling at a global level. This approach effectively reduces quantum gate conflicts found in traditional methods and optimizes execution order, leading to better computational efficiency and circuit performance. Experimental results show that, compared to the traditional 2QAN algorithm, QELPS and FJOSA reduce additional gate insertions by 85.59% and 89.38%, respectively, while decreasing running time by 56.32% and 66.47%. These improvements confirm that the proposed method significantly enhances circuit scheduling efficiency and reduces resource consumption, making it a promising approach for optimizing quantum computation.

1. Introduction

Compared to classical computing, quantum computing offers significant advantages in solving specific problems, particularly in complex optimization tasks and quantum system simulations. It has demonstrated strong potential in areas such as supply chain optimization [1], simulation of quantum systems [2], cryptography [3], and drug development [4], surpassing the capabilities of traditional computing. With ongoing advancements in quantum technology, research based on various quantum algorithms continues to expand its applications [5,6,7]. Significant progress has been made across different quantum computing platforms, including ion traps [8], superconductors [9], topological quantum systems [10], and quantum dots [11]. The manipulation of quantum bits and the implementation of quantum gates have also become increasingly refined, further enhancing the feasibility of quantum computing in practical applications.
Despite significant progress in the Noise Intermediate-Scale Quantum (NISQ) era, many challenges remain. In NISQ devices, quantum gate operations are inevitably affected by noise, reducing computational accuracy and reliability. Noise can corrupt both quantum bit states and gate executions, making large-scale quantum error correction infeasible. As a result, achieving high-fidelity calculations comparable to classical computing has remained difficult. With an increasing number of quantum gates, calculation accuracy gradually declines, further complicating the problem. In this context, performing efficient and accurate computations in a noisy environment has become a core challenge. Particularly in the NISQ era, quantum algorithms and computing models must operate under strict hardware and software constraints. Therefore, ensuring the efficient execution of quantum algorithms with limited hardware resources is a critical issue that must be addressed.
To address this challenge, quantum circuit scheduling has become a key research focus in quantum computing. Its primary goal is to reduce unnecessary qubit exchanges and operation delays by optimizing the execution order of quantum gates [12]. This approach improves computational efficiency and accuracy under limited hardware re-sources. Optimization at the hardware level is essential [13] to ensure compatibility between quantum hardware and software. Additionally, the specific constraints of hardware resources must be carefully considered. Since different quantum hardware architectures have distinct characteristics, scheduling methods must be highly adaptable to meet the needs of various platforms. Quantum gate waveform optimization [14] is also crucial. By fine-tuning gate execution, noise interference can be minimized, leading to improved computational accuracy and fidelity.
In existing NISQ devices, quantum programs are typically composed of single-qubit and two-qubit gates. Studies have shown that the error rate of two-qubit gates is usually 10 times higher than that of single-qubit gates [15]. As a result, two-qubit gates in quantum circuits face a significantly higher risk of errors during execution. To improve the fidelity and efficiency of quantum computing, various strategies have been explored, including optimizing quantum circuit design [16], implementing quantum error mitigation techniques [17], and developing more robust quantum algorithms [18]. The primary goal of these strategies is to reduce quantum gate error rates and improve qubit stability, thereby enhancing the overall performance and reliability of quantum computers.
To address the challenges of excessive SWAP gate insertion and insufficient parallelism in quantum circuit scheduling, we propose a new scheduling method. By integrating SWAP gate conflict avoidance with quantum gate parallelism optimization, a Quantum Exchange Lock Parallel Scheduler is designed, and a Full-level Joint Optimization SWAP Algorithm is implemented.
Our contributions focus on the following aspects:
  • Introducing SWAP conflict optimization of traditional greedy algorithms: Reduce the conflict of SWAP gates through deep optimization, while balancing the relationship between local suboptimal solutions and global optimization. Using the idea of greedy algorithms, flexibly handle conflicts between quantum gates and avoid frequent insertion of SWAP gates.
  • Quantum lock parallel time operation: Utilize the parallelism of quantum gates to reduce the execution time and depth of the circuit. It is based on the results of the first layering and further optimizes the execution order of SWAP gates and other quantum gates by dynamically inserting nonconflicting quantum gates.
  • Full-level joint optimization algorithm: Through cross-level optimization, the FJOSA algorithm can more effectively reduce the insertion of SWAP gates and optimize the execution order of quantum gates.
  • Cost function: The algorithm dynamically selects the optimal number of optimization layers through the cost function, balancing the relationship between reducing SWAP gate insertion and controlling algorithm complexity.
  • Comprehensive experimental verification and algorithm comparison: The effectiveness and superiority of the QELPS algorithm and the FJOSA algorithm are experimentally verified and compared with the benchmark circuit and the 2QAN algorithm, providing a reliable solution for the quantum circuit scheduling problem.

2. Related Works

Quantum circuit scheduling has been systematically investigated through three principal dimensions: algorithmic innovation, hardware compatibility, and error mitigation strategies. Early developments include the FitCut methodology [19], where quantum circuits were modeled as weighted graphs with a community-driven bottom-up cutting strategy to address qubit resource constraints. While effective in local optimization, this approach was observed to compromise global solution quality.
Wu et al. [20] established an Integer Linear Programming (ILP)-based multi-circuit framework for fidelity maximization, though its practical implementation remains constrained due to exponentially escalating computational complexity. Bhoumik et al.’s heuristic approach [21] effectively reduced SWAP gate insertions but frequently converged to local optima, particularly under complex topological constraints.
Recent progress in quantum circuit optimization has introduced novel techniques to address hardware limitations and improve scalability. Zhou et al. [22] proposed a Monte Carlo Tree Search (MCTS) framework for quantum circuit transformation, which enables deeper solution space exploration and effectively reduces circuit depth and size overhead. Bouchmal et al. [23] applied the Quantum Approximate Optimization Algorithm (QAOA) to routing in optical networks, demonstrating its potential for efficient, resource-aware scheduling in dynamic network environments. Kanno et al. [24] introduced tensor-network-based quantum phase difference estimation techniques to facilitate scalable parameter estimation in large quantum circuits, supporting more efficient simulations and computations.
Advancements in quantum circuit design have spanned both algorithmic and hardware domains. Perriello et al. [25] introduced a comprehensive quantum circuit to address the information set decoding problem, aiding quantum cryptanalysis. Grzesiak et al. [26] showcased efficient quantum programming utilizing Efficient Advanced Synthesis Environment (EASE) gates on a trapped-ion platform, enhancing native gate synthesis. Lu et al. [27] developed a reconfigurable silicon photonic processor based on Sidewall-Corrugated Optical Waveguide (SCOW) resonant structures, facilitating adaptive optical control. Kanaar et al. [28] tackled always-on exchange in silicon spin qubits by crafting robust pulse sequences, improving gate fidelity under hardware constraints.
Advancements in quantum control and topological robustness have been achieved through various innovative approaches. Ding et al. [29] designed baseband flux pulses to enhance controlled-phase gate fidelity in superconducting circuits. Yale et al. [30] demonstrated all-optical spin control using coherent dark states in solid-state systems. Das Sarma et al. [31] introduced a topological model based on Majorana zero-mode braiding, offering a path toward fault-tolerant quantum computing.
In the pursuit of enhancing quantum circuit performance and scalability, Che et al. [32] introduced a rapid virtual gate extraction method for silicon quantum dot devices, streamlining calibration processes. Krantz et al. [33] offered a comprehensive guide on superconducting qubits, detailing their design and operational principles. Sorourifar et al. [34] explored Bayesian optimization priors to improve the efficiency of variational quantum algorithms. Murali et al. [35] developed noise-adaptive compiler mappings tailored for noisy intermediate-scale quantum computers, optimizing circuit execution.
Distributed quantum computing scenarios introduce additional complexity in scheduling due to physical qubit separation. Cirac et al. [36] demonstrated the feasibility of distributed quantum computation over long distances using optical fibers, laying the theoretical foundation for remote entanglement generation and inter-node gate operations. Altintas et al. [37] investigated spatially separated quantum game systems through spin–photon interactions, providing early insights into the scheduling challenges in hybrid photonic-matter architectures.
Recent engineering efforts have focused on enabling reliable quantum communication between distant nodes. Koshino et al. [38] proposed a bidirectional interface for state transfer between superconducting and microwave-photon qubits via single reflection, enabling efficient remote quantum communication. Ozaydin et al. [39] achieved deterministic preparation of W states based on spin–photon interaction models, facilitating multi-node entanglement distribution. More recently, Main et al. [40] demonstrated a functional optical link for distributed quantum computing, further underscoring the need for optimized SWAP scheduling in cross-node topologies.
Hietala et al. [41] introduced Verified Optimizer for Quantum Circuits (VOQC), a formally verified quantum circuit optimizer built with the Coq proof assistant, ensuring correctness in circuit transformations. Chong et al. [42] emphasized the necessity of quantum-specific programming languages and compilers to bridge the gap between high-level algorithms and quantum hardware constraints. Maslov [43] proposed a comprehensive compilation strategy for ion-trap quantum machines, focusing on optimizing two-qubit gate usage and overall circuit efficiency.
Bravyi et al. [44] demonstrated that shallow quantum circuits can outperform classical counterparts in solving specific problems, establishing a clear quantum advantage. Ryan-Anderson et al. [45] achieved real-time fault-tolerant quantum error correction, marking a significant step toward practical quantum computing. Sivarajah et al. [46] introduced t|ket⟩, a versatile compiler optimizing quantum circuits for NISQ devices, enhancing execution efficiency.
In the realm of quantum circuit optimization, Liu et al. [47] focused on resource-efficient designs for discrete logarithms on binary elliptic curves under nearest-neighbor constraints. Choi et al. [48] applied the Quantum Approximate Optimization Algorithm (QAOA) to wireless scheduling, showcasing its potential in addressing NP-hard problems. Misevičius et al. [49] introduced a hybrid genetic-hierarchical algorithm to enhance solutions for the quadratic assignment problem. Jang et al. [50] developed a depth-optimized quantum circuit for Gauss–Jordan elimination, crucial for accelerating information set decoding. Booth [51] proposed constraint programming models for depth-optimal qubit assignment and SWAP-based routing, outperforming traditional ILP models in both solution quality and runtime.
Amy et al. [52] proposed a meet-in-the-middle algorithm for synthesizing depth-optimal quantum circuits, achieving significant T-gate Depth (T-depth) reduction. Kaewpuang et al. [53] introduced a stochastic model for managing entangled pairs and qubit resources in quantum cloud computing, optimizing cost and fidelity. Cross et al. [54] presented Open Quantum Assembly Language (OpenQASM) 3, an enhanced quantum assembly language supporting advanced control flow and real-time classical-quantum interactions.
Peng et al. [55] introduced Deep Dynamic Planning-enhanced Q-learning (Deep Dyna-Q), integrating planning into reinforcement learning for dialogue policy learning. Brandhofer et al. [56] proposed optimal qubit reuse strategies to enhance quantum circuit efficiency. Zhang and Zhou [57] developed a two-stage dynamic cloud task scheduling method to optimize resource allocation. Murali et al. [58] addressed crosstalk issues in NISQ devices through software-level mitigation techniques.
Quetschlich et al. [59] introduced Munich Quantum Toolkit Benchmark (MQT Bench), a benchmarking suite for evaluating quantum software tools across various abstraction levels. Wang et al. [60] proposed a rejection sampling method to expedite ground-state energy estimation on early fault-tolerant quantum computers, offering a quadratic improvement in the ground state overlap parameter. Wan et al. [61] developed a randomized phase estimation algorithm with complexity independent of the number of Hamiltonian terms, allowing error reduction through increased sampling without deeper circuits.
Xu et al. [62] introduced Quantum-circuit Universal Extensible Synthesis Optimizer (QUESO), an automated framework for synthesizing quantum-circuit optimizers tailored to specific hardware architectures, outperforming existing compilers like Qiskit and TKET on diverse benchmarks. Zhang et al. [63] developed a deep reinforcement learning algorithm for topological quantum compiling, generating near-optimal gate sequences for arbitrary single-qubit unitarizes without ancillary qubits.
To address multi-level challenges in quantum circuit scheduling—spanning architectural adaptation, dynamic noise response, and cross-layer optimization—a dual-engine collaborative framework (QELPS-FJOSA) is proposed. The QELPS module incorporates quantum swap lock parallelism to dynamically decouple circuit layer interdependencies thro-ugh gate conflict analysis, enabling co-optimization of SWAP gate reduction and circuit depth minimization. Simultaneously, the FJOSA algorithm introduces a unified optimization space integrating layout routing, gate scheduling, and resource allocation. Traditional hierarchical optimization limitations are overcome through an enhanced heuristic cost function and adaptive weight balancing between local refinement and global exploration.
This framework resolves critical conflicts involving topological constraints, noise propagation, and temporal competition while maintaining computational efficiency. A novel paradigm is thereby established for efficient quantum resource utilization in NISQ-era systems.

3. Quantum Circuit Scheduling Problem

Quantum gate scheduling and layering have been identified as critical components in quantum algorithm optimization, particularly for Hamiltonian simulation tasks [64], where circuit depth reduction and hardware resource efficiency are prioritized.
The target Hamiltonian is systematically decomposed into quantum gate operations through a structured methodology that leverages its inherent spectral attributes and interaction topologies, as formalized in Equation (1). This decomposition process involves the analysis of the Hamiltonian’s spectral properties, including eigenvalue distributions and symmetry characteristics, alongside the interaction patterns encoded in its connectivity graph to generate efficient gate sequences. The resulting sequences are constructed to preserve unitary dynamics while minimizing circuit depth and gate complexity, adhering to physical constraints such as qubit connectivity and coherence time limitations. This ensures a high-fidelity realization of the target dynamics, addressing key challenges in quantum circuit design for practical hardware implementations.
H = Z 0 Z 1 + Z 1 Z 2 + Z 2 Z 3 + Z 3 Z 4 + X 0 + X 3
The 5-qubit simulation architecture shown in Figure 1a provides the foundational hardware configuration for circuit implementation. Fundamental quantum operations including CNOT and Hadamard (H) gates are identified in Figure 1c, demonstrating the basic components of the quantum circuit. Initial qubit dependency relationships presented in Figure 1b reveal that CNOT q 0 , q 3 and CNOT q 0 , q 1 cannot be executed in parallel due to shared access to Qubit q 0 . Concurrent operations are enabled through the coordinated scheduling of CNOT q 0 , q 3 , CNOT q 1 , q 4 , and H q 2 in Layer l 0 , which maintain independent qubit utilization patterns.
Through systematic layering optimization, the dependent gates CNOT q 0 , q 1 and CNOT q 2 , q 4 are allocated to Layer l 1 , while CNOT q 1 , q 3 is isolated in Layer l 2 to resolve cross-layer conflicts. The optimized quantum circuit architecture illustrated in Figure 1d achieves depth reduction by implementing hardware topology-aware scheduling. This improvement is accomplished through coordinated consideration of qubit coupling constraints during the compilation process, where gate sequences are reordered according to both dependency relationships and physical connectivity limitations.
The scheduling methodology confirms that parallel execution capabilities can be maximized through structured analysis of operational conflicts and hardware-specific constraints. Recent quantum compiler studies have demonstrated similar approaches for enhancing circuit efficiency through adaptive layering techniques [65]. Such optimizations become increasingly critical as quantum algorithms grow in complexity, requiring meticulous synchronization of computational requirements with device-specific architectural characteristics.

4. Quantum Exchange Lock Parallel Scheduler

The QELPS algorithm enhances quantum circuit layering through two optimized phases. First, a depth-prioritized greedy algorithm with SWAP conflict resolution is employed to balance local and global optimizations. Gate sequences are strategically reordered through temporary postponement, effectively resolving CNOT gate constraints without frequent SWAP insertions typically required by conventional methods.
Second, quantum lock parallelism is utilized to dynamically integrate non-conflicting operations. SWAP gate scheduling is optimized through temporal alignment with compatible gates, reducing both circuit depth and operational over-head. This dual-phase coordination enables improved hardware resource utilization compared to traditional layering approaches.
The methodology maintains circuit fidelity while demonstrating enhanced compatibility across NISQ device architectures. Experimental validations confirm these advantages through systematic comparisons under diverse quantum computing scenarios.

4.1. Deep Optimal Greedy Algorithm Layering Strategy Based on Swap Conflict

Theorem 1. 
SWAP Conflict. Consider a quantum circuit Q = { q 0 , q 1 , , q n } that includes two CNOT gates, CNOT q i , q e and CNOT q u , q v . If CNOT q i , q e fails to meet the topological constraint, a SWAP operation, SWAP q i , q v , is introduced to alter the execution order of the qubits. However, this SWAP operation cannot operate on the same qubit q i , q v simultaneously with both CNOT gates.
Theorem 2. 
Local suboptimal solution. Consider a quantum circuit Q = { q 0 , q 1 , , q n }  and a circuit layer  L = { l 0 , l 1 , , l m }  that contain quantum gates CNOT q a , q b  and CNOT q c , q d . Additionally, a quantum gate CNOT q u , q v  is present in layer  l e . When CNOT q a , q b  fails to meet the topological constraint, the SWAP q a , q c  operation is introduced to alter the execution order of the qubits. However, SWAP q a , q c  cannot operate on the same qubit involved in both CNOT q a , q b  and CNOT q c , q d  within the layer. Consequently, CNOT q c , q d  is temporarily postponed to layer  l e .
The first layering process employs a deep optimal greedy algorithm based on SWAP conflicts for quantum circuit partitioning. As shown in Equation (2), S W A P t o t a l represents the total inserted SWAP gates, where S W A P i corresponds to the SWAP count in the i t h layer, ensuring S W A P t o t a l equals the summation of S W A P i across all layers. Traditional greedy algorithms are observed to resolve mapping conflicts immediately at each layering stage, leading to frequent S W A P i insertions and increased circuit complexity. In contrast, the execution of specific quantum gates is intentionally postponed when conflicts are encountered in our approach, enabling temporary acceptance of local suboptimal configurations.
While immediate conflict resolution (a locally optimal strategy) substantially elevates S W A P t o t a l in multilayered circuits, the proposed method strategically delays partial operations to prioritize global optimization. Conflicts in specific layers are purposefully maintained through controlled S W A P i allocations to achieve this balance. The algorithm dynamically selects resolution strategies between optimal and suboptimal choices based on layer-specific parameters, thereby enhancing operational adaptability. This systematic compromise between localized SWAP gate management and circuit-wide efficiency ensures robust quantum circuit performance without logical integrity loss.
S W A P t o t a l = i = 1 n S W A P i
The specific operation steps are as follows:
Step 1: Quantum gates violating operational constraints are identified. The SWAP gate insertion schemes generated from these constrained gates are analyzed, forming the foundational basis for subsequent stratification.
Step 2: A local suboptimal solution is selected rather than enforcing immediate SWAP gate insertion, allowing strategic postponement of conflicting quantum operations.
Step 3: Residual quantum gates are progressively incorporated during layering iterations, with dual evaluation of both locally optimal and suboptimal configurations during insertion decisions.
Step 4: Non-conflicting quantum gates relative to existing components in the current layer are directly integrated; those exhibiting conflicts are systematically postponed for reprocessing.
Step 5: For quantum gates violating CNOT adjacency constraints, their SWAP insertion schemes are combined with prior configurations to establish optimized stratification baselines.
Step 6: The stratification cycle is completed when three conditions are met: All gates are optimally mapped to hierarchy levels through constraint-driven assignment; conflict resolutions are achieved via controlled postponement strategies; the layered architecture fulfills global optimization objectives.

4.2. Secondary Stratification Strategy Based on Quantum Lock Parallel Time

The quantum circuit structure is initially optimized using a deep greedy algorithm based on SWAP conflicts during primary layering, with residual conflicts addressed through secondary optimization. Temporal differences between SWAP execution times and shorter quantum gate durations enable refinement of layer allocation via quantum locking and gate movement mechanisms. By leveraging these timing differentials, the circuit schedule is improved while maintaining a balance between parallelism, optimization effectiveness, and computational complexity.
Step 1: Non-compliant quantum gates are identified through circuit mapping analysis. SWAP insertion candidates are simulated and selected based on conflict-free verification within current layer configurations.
Step 2: CNOT and H gate unlocking sequences are activated post-SWAP execution, exploiting quantum parallellism to insert executable gates in subsequent layers while maintaining temporal constraints established in primary layering.
Step 3: Full-circuit compliance is achieved through iterative traversal of non-compliant gates across hierarchical layers. Systematic gate allocation continues until archit-ectural constraints are satisfied through layer-wise insertion completion.

4.3. Quantum Circuit Hierarchical Strategy Based on Qelps

The QELPS algorithm includes a greedy layering strategy based on SWAP conflicts and a secondary layering strategy leveraging quantum lock parallelism. Together, they aim to reduce SWAP gate usage, optimize circuit depth, and enhance execution efficiency. Its main operation steps are as follows: Additionally, the algorithm dynamically adapts to the circuit’s evolving state to further refine the scheduling process.
(1)
Initial layering: First, identify all quantum gates that do not meet the CNOT constraints and analyze possible SWAP gate insertion schemes to ensure that the initial layer can meet the requirements of the hardware topology. Based on this analysis, build the first layer and use it as the basis for subsequent layering.
(2)
Intra-layer filling and conflict handling: Fill as many executable quantum gates as possible in the current layer to ensure maximum parallelism. If there is a conflict caused by topological restrictions or data dependencies, the conflicting quantum gates will be postponed to the next layer to avoid unnecessary SWAP gate overhead.
(3)
Dynamic adjustment of the number of layers: As the quantum gates are gradually filled in, the algorithm will flexibly increase or merge the layers according to the number of quantum gates in each layer, the execution parallelism and its conflict with the SWAP gate, thereby optimizing the circuit structure and improving the computing efficiency.
(4)
Screening micro-conflicting SWAP gates: In the first layer, simulated SWAP gate insertion is performed on all quantum gates that do not meet the quantum bit mapping requirements. By analyzing the impact of different SWAP gates, SWAP gates that only slightly conflict with the current layer are screened out to minimize the additional SWAP gate overhead.
(5)
Quantum locking and gate movement: The quantum gates in the first layer are locked to ensure the stability of circuit execution. In terms of execution order, CNOT gates are unlocked and executed before SWAP gates. Subsequently, quantum gates that will not conflict with the SWAP gates of the first layer and can be directly executed are selected in the subsequent layers to fill in the layer to optimize the entire scheduling process.
(6)
Constructing all levels: Repeat the optimization process of (4) and (5) for the subsequent levels, gradually fill in all quantum gates, and resolve mapping conflicts until the scheduling of the entire circuit is completed.
The pseudo code of the QELPS algorithm is as follows (Algorithm 1).
Algorithm 1. Quantum Exchange Lock Parallel Scheduler
Input:
Quantum   Circuit ( Q ) : The   initial   set   of   quantum   operations   to   be   optimized .
Architecture ( A ) : The   specific   quantum   computer s   layout   that   dictates   how   qubits   can   interact .
Output:
Compiled   Circuit ( C ) : The   optimized   version   of   Q ,   adapted   for   efficient   execution   on   A .
1 : Begin
2 :   Initialize   layers   L   as   an   empty   list
3 :   Identify   quantum   gates   in   Q   that do not satisfy CNOT constraints
4 :   Analyze   SWAP   gate   insertions   to   form   the   first   layer   L [ 0 ]
5 :   While   there   are   unassigned   quantum   gates   in   Q   do
6:    
7:    
8:    
9:    
10:    
11:    
12:    
13:    
14:    
15:    
16:    
17:    
Create   new   layer   L [ i ]
Fill   L [ i ]   with   gates   executable   in   parallel   without   conflicts
For   each   gate   g   in   L i   do
If   g   conflicts   with   assigned   gates
Postpone   g   to   L [ i + 1 ]
End   If
End   For
If   execution   time   of   L [ i ]   execution   time   of   L [ 0 ]
Add   L [ i ]   to   L
Else
Break
End If
18:End While
19 :   For   each   layer   L [ i ]   in   L do
20:
21:
22:
23:
24:
25:
26:
Simulate   SWAP   insertions   for   unassigned   gates
Identify   micro-conflicts
Lock   gates   in   L [ i ] ,   prioritizing   CNOT   gates
For   each   subsequent   layer   L [ j ]   do
Search   for   gates   in   L [ j ]   that   do   not   conflict   with   SWAPs   in   L [ i ]
Insert   these   gates   into   L [ j ]   ensuring   execution   time   does   not   exceed   L [ 0 ] ’s time
End For
27 :   End   For
28:Return C
29:End

4.4. Example AnalysisI

As shown in the quantum circuit diagram in Figure 2, the nodes represent quantum bits, while the edges indicate the connectivity between them. The input circuit consists of CNOT q 1 , q 4 , CNOT q 1 , q 2 , CNOT q 2 , q 5 , CNOT q 0 , q 4 , CNOT q 1 , q 3 , and H q 0 . After introducing the QELPS algorithm, CNOT q 0 , q 4 , which requires a mapping adjustment for execution, is selected as the benchmark and placed in layer l 0 The algorithm identifies both locally optimal and suboptimal solutions to resolve SWAP gate conflicts within the quantum circuit.
During the layering process, a dynamic insertion and adjustment strategy for SWAP gates is applied to incrementally fill each layer with quantum gates while prioritizing gates in the front layers. Initially, the local optimal solution is considered, where CNOT q 0 , q 4 , CNOT q 2 , q 5 , and CNOT q 1 , q 3 are placed in l 0 . However, after evaluating the insertion of four possible SWAP gates required to satisfy CNOT gate constraints, conflicts with qubits involved in the existing CNOT gates within the layer are detected. As a result, the local optimal solution is abandoned, and the local suboptimal solution is selected instead, consisting of CNOT q 0 , q 4 and CNOT q 1 , q 2 .
Following the SWAP conflict resolution process, the SWAP gates that satisfy the mapping conditions are SWAP q 3 , q 4 and SWAP q 0 , q 3 . This approach is consistently applied to all subsequent layers. As a result, l 0 contains CNOT q 0 , q 4 and CNOT q 1 , q 2 , l 1 consists of CNOT q 2 , q 5 , CNOT q 1 , q 3 , and H q 0 , while l 2 includes CNOT q 1 , q 4 .
In the secondary layering process, it is assumed that multiple gates cannot act on a single qubit simultaneously. A qubit that participates in a certain gate operation is considered to be in a locked state and remains locked for a duration of t before being unlocked. Based on this assumption, the operands of different quantum gates determine their locking durations, where the Hadamard (H) gate locks a qubit for τ , the CNOT gate for 2 τ , and the SWAP gate for 6 τ . Therefore, a reasonable assumption is made when t = τ , 2 τ , 6 τ , respectively.
Following these constraints, the gate CNOT q 0 , q 4 in layer l 0 does not satisfy the mapping requirements for CNOT execution. As a result, a SWAP gate must be introduced to modify the quantum mapping. However, using SWAP q 0 , q 1 and SWAP q 1 , q 4 creates conflicts with CNOT q 0 , q 4 and CNOT q 1 , q 2 since these operations would act on qubits q 0 , q 1 and q 4 simultaneously. Therefore, these SWAP gates are not feasible and must be discarded. The only SWAP operations that satisfy the conflict constraints are SWAP q 3 , q 4 and SWAP q 0 , q 3 .
The introduction of SWAP gates increases execution time. In the upper coordinate diagram of Figure 3a, the parallel execution time for CNOT q 1 , q 2 and SWAP q 0 , q 3 is 6 τ . After updating the quantum mapping, the execution time of the CNOT q 0 , q 4 operation is 2 τ . In layer l 1 , the parallel execution time for CNOT q 2 , q 5 , CNOT q 0 , q 4 , and H q 0 is also 2 τ . The execution of CNOT q 1 , q 4 in layer l 2 requires 2 τ , leading to a total execution time of 6 τ + 2 τ + 2 τ + 2 τ = 12 τ .
With the introduction of the quantum locking mechanism, qubits q 1 and q 2 are initially locked and remain so for 2 τ , as illustrated in the lower coordinate diagram of Figure 3a. When the SWAP gate is still executing, quantum gates that do not conflict with the qubits involved in the current SWAP operation can be identified from subsequent layers and inserted into the current layer. The inserted quantum gates must ensure that the execution time of this layer does not exceed its original execution time before stratification. Following this approach, when SWAP q 0 , q 3 is executed, CNOT q 2 , q 5 and CNOT q 1 , q 4 are inserted into layer l 0 , maintaining an execution time of 6 τ . After updating the mapping, the execution time of CNOT q 0 , q 4 is 2 τ . Finally, CNOT q 1 , q 3 and H q 0 execute in parallel for 2 τ , resulting in a total execution time of 6 τ + 2 τ + 2 τ = 10 τ . The circuit structure after the second stratification is shown in Figure 3b, where one quantum circuit layer is eliminated, and the parallel execution of quantum gates is fully utilized to improve computational efficiency.

5. Full-Level Joint Optimization Swap Algorithm

5.1. Limitations of the QELPS Algorithm

The limitation of the QELPS algorithm is that, although parallel execution of quantum gates within each layer is ensured, dependencies and interactions across subsequent layers are not effectively handled. To address this, SWAP gate operations must be introduced to modify the quantum mapping. However, excessive SWAP insertions increase the gate error rate and prolong execution time. The FJOSA algorithm builds upon QELPS by more comprehensively considering gate dependencies and interactions, thereby improving scheduling efficiency and reducing unnecessary SWAP operations.

5.2. Algorithm Principle

We propose a Full-level Joint Optimization SWAP Algorithm based on a heuristic approach. Instead of strictly following the execution order of each layer, deep optimization is performed across multiple layers. Although breaking the layer structure may increase the complexity of circuit dependency management and reduce parallelism, the layers are not entirely broken. After completing the layering process using a deep optimal greedy algorithm based on SWAP conflicts, full-level joint optimization is further applied. However, when multiple layers are processed simultaneously, dependency complexity increases significantly. Therefore, the cost function must be carefully designed to select appropriate layers for joint optimization.
C o s t i , l , e = λ S n o r m + ( 1 λ ) Q n o r m
Δ S i , l , e = s i , l , e S ( i , l , e )
S n o r m = Δ S i , l , e / Δ S m a x
Q n o r m = Q ( i ) l / Q ( i ) m a x
where i represents the i t h optimization, while e denotes the number of optimized layers and the current total number of layers. The cost function, C o s t ( i , l , e ) , evaluates the optimization impact from the e t h layer to the e + l t h layer during the i t h optimization. The variable S ( i , l , e ) represents the number of SWAP gates used by the FJOSA algorithm for the e t h to e + l t h layer, whereas s ( i , l , e ) represents the number of SWAP gates used by the QELPS algorithm for the same range during the i t h optimization. The difference between these values, Δ S ( i , l , e ) , quantifies the reduction in SWAP gate usage achieved by the FJOSA algorithm compared to QELPS.
The parameters λ and 1 λ serve as weights for different optimization indicators, ensuring a balanced contribution of each factor to the overall optimization goal. These weights are derived from experimental data. Q ( i ) l represents the scheduling complexity of quantum bits, defined as the number of optimized layers raised to the power l after the i t h optimization. The variable S n o r m is a normalization factor used to balance the SWAP gate reduction effect across different layers, while Q n o r m is another normalization factor designed to assess the complexity of quantum bit scheduling.
The Full-level Joint Optimization SWAP Algorithm is executed in multiple rounds. In each round, optimization begins at the e t h layer, and the circuit up to the e + l t h layer is simulated to determine possible SWAP gate insertions ( e = 0 ,   1 ,   2 , , m ; l = 0 ,   1 ,   2 , , n ) . As the number of optimization rounds increases, more layers are included in the optimization process. After each round, the corresponding cost function value is computed, and the layer with the lowest cost function value is selected as the optimal choice. Once the current optimization is completed, the process proceeds to the next layer.
In Formula (4), Δ S ( i , l , e ) represents the reduction in the number of SWAP gate insertions after optimizing l layers starting from the e t h layer during the i t h optimization. As the number of optimized layers l increases, the algorithm evaluates the potential reduction in SWAP gate insertions with each additional layer. However, since all possible SWAP gate insertion schemes must be explored, identifying the scheme with the fewest SWAP gate insertions significantly increases computational complexity as the number of optimization layers grows.
In order to control the computational cost caused by an increase in the number of optimization layers, a limiting factor Q ( i ) l is introduced in the cost function (Formula (3)). Quantum circuits are composed of multiple gates acting on quantum bits, and as the number of quantum bits increases, the overall circuit complexity increases. Q ( i ) l reflects the exponential growth in algorithm complexity as the number of optimization levels l increases. Because the number of quantum bits involved in each optimization may vary with the number of levels, the insertion of SWAP gates and the scale of the search space are also affected. By incorporating Q ( i ) l , the effects of both the number of quantum bits and the number of optimization levels are dynamically combined to accurately model this complexity growth. In addition, normalization factors S n o r m and Q n o r m are introduced into the cost function, as shown in Formulas (5) and (6), to balance complexity cost and optimization benefits within a unified scale. This improves both the versatility and interpretability of the cost function, allowing it to adapt to different circuit structures and optimization requirements.
Specifically, as the number of optimization layers l increases, the number of SWAP gates that can be reduced by Δ S ( i , l , e ) gradually decreases. However, the value of Q ( i ) l increases exponentially, causing the cost function value to rise rapidly. This exponential relationship reflects the characteristic of diminishing returns in optimization. Although optimizing more layers simultaneously can further reduce SWAP gate insertions, it also significantly increases computational complexity. Therefore, by employing Q ( i ) l , a restrictive effect is imposed. By reasonably selecting the number of optimized layers, a balance can be achieved between reducing the insertion of SWAP gates and controlling algorithm complexity. This approach ensures efficient circuit execution while minimizing computational overhead.
One critical aspect of the FJOSA algorithm is its computational scalability under increasing circuit depth and qubit count, which was not explicitly discussed in earlier sections. As the number of circuit layers L increases, and more quantum bits n are involved in optimization, the number of possible SWAP insertion combinations across multiple layers grows rapidly. Specifically, the search space complexity increases approximately as O ( n 2 · L 2 ) , since each additional layer allows for more interaction permutations among qubit pairs. This effect becomes even more pronounced when gate congestion or hardware constraints introduce dependency chains across layers, which further increase the cost of evaluating and selecting valid gate placements.
In FJOSA, the multi-layer scheduling process evaluates several candidate configurations to balance gate satisfaction and SWAP reduction. The algorithm’s complexity scales quadratically with both the number of active qubits and optimization layers. While this improves global performance, it also introduces overhead as circuit depth increases. Therefore, the number of layers per optimization round must be bounded in practice, particularly for circuits with over 20 qubits or 50 layers. This highlights the need for scalable heuristics when extending FJOSA to larger circuits.
The specific operations of the FJOSA algorithm are as follows:
(1)
Initial Stratification: The QELPS algorithm is used to stratify quantum circuits.
(2)
Screening the Optimal SWAP Combination: In the first layer, all SWAP gate combination solutions that solve the CNOT gate constraint are identified and compared. The solution with the least number of SWAP gates is selected.
(3)
Adjacent Layer Optimization: In the second layer, the best SWAP gate solution from the previous step is compared with the solutions in subsequent layers. The solution with the fewest SWAP gates is chosen.
(4)
Functional Judgment and Joint Optimization: Steps (2) and (3) are applied to the first ( e + l ) layers, where ( e = 0 ,   1 ,   2 , , m ; l = 0 ,   1 ,   2 , , n ) . If the cost function ( C o s t ( i , l , e ) ) for the e + l layer is greater than zero, the first and e + l 1 t h layers are optimized. In this case, the optimization starts from the initial layer, specifically when e = 0 .
(5)
Overall Layer Optimization: Once the mapping of the previous layer is satisfied, the optimization continues for all subsequent layers until the SWAP gate optimization for all layers is completed.
The pseudo code of the FJOSA algorithm is as follows (Algorithm 2).
Algorithm 2. Full-level Joint Optimization SWAP Algorithm
Input:
L a y e r _ i :   The   i t h   layer   of   quantum   circuit   operation   data
S w a p _ i _ j :   The   number   of   SWAP   gates   required   for   the   j t h   scheme   in   the   i t h layer .
Output:
M i n _ s w a p :   The   minimum   total   number   of   SWAP   gates   after   optimization
1:Begin:
2 :   M i n _ s w a p
3 :   Initialize   layers   list   L     [ ]
4 :     For   i = 0   to   number   of   l a y e r s 1 do
5 :           L [ i ]     Analyze   SWAP   gate   insertions   to   form   layer   i
6:   End for
7 :           M i n _ s w a p   = Find   Optimal   SWAP   Combination ( L [ 0 ] )
8 :   For   i = 1   to   number   of   l a y e r s 2   do
9:
10:
11:
12:
13:
14:
15:
For   each   candidate   scheme   l L [ i ]   do
        Compute :   Δ S i , l , e = s i , l , e S ( i , l , e )
        Compute :   C o s t i , l , e = λ Δ S i , l , e / Δ S m a x + ( 1 λ ) Q ( i ) l / Q ( i ) m a x
        If   C o s t i , l , e < M i n _ s w a p
              Then   M i n _ s w a p C o s t i , l , e
    End if
End for
16:     End for
17 :       For   j = 1   to   number   of   l a y e r s 2  do
18:
19:
20:
21:
If   C o s t i , j + 1 , e > 0   then
Perform   Joint   Optimization ( L 0 , L [ j ] )
M i n _ s w a p Find   Optimal   SWAP   Combination ( L 0 )
End if
22:     End For
23 :     Return   m i n _ s w a p
24:End

5.3. Example Analysis

As shown in Figure 4a, the original hardware architecture diagram illustrates the correlation between each quantum bit. Figure 4b presents the original logic circuit diagram, which must satisfy the quantum bit correlation shown in Figure 4a. The quantum gates enclosed by red dotted lines do not meet the physical constraints. The input circuits of the quantum circuit include CNOT q 4 , q 5 , CNOT q 0 , q 1 , CNOT q 1 , q 4 , CNOT q 2 , q 3 , CNOT q 6 , q 7 , CNOT q 7 , q 8 , and H q 4 , which are divided into four layers.
In the FJOSA algorithm, the value of C o s t ( i , l , e ) is calculated during the i t h optimization, and its positive or negative value determines whether to continue the optimization until the final layer is processed. The goal is to obtain the solution with the least number of inserted SWAP gates. When the number of optimizations is i = 1 , the algorithm begins optimization from the initial layer ( e = 0 ), with the minimum number of optimized layers set to L = 2 . For each layer l e in the quantum circuit, n e represents the number of SWAP gates required. All possible SWAP insertion solutions are evaluated, revealing two feasible solutions that satisfy the constraints of the l 0 layer with a minimum of n 0 = 2 SWAP gates. The first solution consists of SWAP q 2 , q 4 and SWAP q 3 , q 5 , while the second includes SWAP q 2 , q 4 and SWAP q 3 , q 4 .
For each quantum mapping, the solution with the least number of SWAP gates in the l 1 layer is determined. In the first solution, as shown in Figure 5, n 1 = 2 , meaning two additional SWAP gates must be inserted. In contrast, in the second solution, as illustrated in Figure 6, n 1 = 0 means no SWAP gates are needed. This finding highlights that carefully selecting the SWAP insertion scheme can significantly reduce the total number of SWAP gates. Consequently, the FJOSA algorithm selects the second solution ( S i , l , e = 2 ), whereas the QELPS algorithm, which does not account for the impact of each solution on subsequent layer mappings, chooses the first solution ( S 1,2 , 0 = 4 ).
Formula (4) shows that S 1,2 , 0 = 2 , where Smax represents the number of SWAP gates along the longest path. The CNOT operations CNOT q 4 , q 5 , CNOT q 1 , q 4 , and CNOT q 2 , q 3 correspond to paths q 4 q 2 q 0 q 1 q 3 q 5 , q 1 q 3 q 4 , and q 2 q 0 q 3 , respectively. After computing S m a x = 6 , Formula (5) yields S n o r m = 0.33 . The first two layers involve six quantum bits and four CNOT gates, with Q ( 1 ) 2 = 36 and Q ( 1 ) m a x = 64 , leading to Q n o r m = 0.58 according to Formula (6). Through extensive experiments, λ = 0.63 is obtained, and Formula (4) results in C o s t 1,2 , 0 = 0.0007 . Since the cost function is less than zero, optimization continues.
When the number of optimizations is i = 2 , the number of optimized layers increases to l = 3 , while the current optimization starts from e = 0 . In this case, all CNOT gates in the l 2 layer satisfy the mapping constraints. As a result, Δ S 2,3 , 0 = Δ S 1,2 , 0 . The first three layers collectively utilize 10 quantum bits and 6 CNOT gates, with Q ( 2 ) 3 = 1000 and Q ( 2 ) m a x = 1728 . Using Formula (6), we obtain Q n o r m = 0.56 , and applying Formula (4) results in C o s t 2,3 , 0 = 0.0067 . Since the cost function value is greater than zero, the optimization process terminates.
For i = 3 , the number of optimized layers is l = 2 , and the current optimization begins from e = 2 . In this case, all quantum gates in both the l 2 and l 3 layers satisfy the mapping constraints, leading to Δ S 3,2 , 3 = 0 . These two layers involve a total of 4 quantum bits, 2 CNOT gates, and 1 Hadamard (H) gate. With Q ( 3 ) 2 = 16 and Q ( 3 ) m a x = 25 , Formula (6) yields Q n o r m = 0.64 , while Formula (4) computes C o s t 3,2 , 2 = 0.2368 . Since the cost function remains positive, the optimization process is again halted.
The FJOSA algorithm effectively minimizes the number of inserted SWAP gates while significantly reducing the overall circuit depth. Additionally, it enhances the mapping layout of quantum bits to a certain extent. When combined with a quantum gate parallel execution strategy, FJOSA can further decrease SWAP gate insertions while ensuring CNOT constraints are met. This ultimately leads to a more efficient and stable execution of quantum circuits, improving both computational accuracy and hardware resource utilization.

6. Experimental Evaluation

6.1. Evaluation Metrics

The experiments in this paper utilize the benchmark circuit library [66,67,68,69,70,71,72], which is widely adopted for evaluating quantum circuit scheduling. All circuits consist of Clifford+T gates, with CNOT gates as the only two-qubit operations. The number of quantum bits in the circuits ranges from 4 to 16. To comprehensively analyze the execution performance and optimization effectiveness, IBM’s Qiskit compiler [73] is integrated with superconducting quantum hardware [74].
All algorithms presented in this paper are implemented using Python 3.9, and all compilation tasks are performed on a laptop equipped with an AMD Ryzen 7 processor (3.20 GHz, 16 GB RAM).
To further validate the effectiveness of the proposed method, the 2QAN (Quantum Annealing Network) algorithm [75] is used as a comparative benchmark. The 2QAN algorithm optimizes quantum bit connectivity through quantum annealing techniques to minimize the number of SWAP gate insertions. By comparing our method with 2QAN, we provide a comprehensive evaluation of different optimization approaches in quantum circuits, particularly regarding their adaptability and optimization performance under complex hardware topologies. This analysis offers valuable insights for future quantum circuit optimization strategies.

6.2. Model Evaluation

We evaluate the performance of three quantum circuit scheduling and optimization algorithms—2QAN, QELPS, and FJOSA—in terms of compilation overhead through experiments on 30 benchmark circuits.
As shown in Table 1, all three algorithms effectively optimize the number of extra gates in quantum circuits, significantly reducing their count. However, their optimization effects vary. Compared with the benchmark circuit, the 2QAN algorithm achieves an optimization rate of 57.10%. Although it reduces a certain number of extra gates, its local optimization strategy does not fully consider the complexity of global optimization and inter-layer interactions. This limitation is particularly evident when dealing with complex circuits, where its performance is relatively inferior to the other two algorithms.
The optimization effect of the QELPS algorithm reaches 85.59%. Its deep optimal greedy strategy, based on SWAP conflict resolution, effectively handles CNOT gate constraint conflicts. By postponing the execution of certain quantum gates, it minimizes SWAP gate insertions, reducing circuit depth and overall complexity. Moreover, QELPS balances local suboptimal and optimal solutions, demonstrating strong optimization capabilities, particularly in large-scale circuits.
The FJOSA algorithm achieves the most significant optimization effect, reaching 89.38%, and demonstrates strong global optimization capabilities. By employing cross level deep optimization and a global perspective, it effectively reduces the insertion of SWAP gates. This algorithm excels in optimizing multi-layer circuits, minimizing redundant operations. Compared with the QELPS algorithm, the optimization effect of FJOSA improves by 26.29%. Although FJOSA incurs a higher computational cost, its enhanced optimization performance still makes it superior to the other two algorithms in terms of compilation overhead.
From the perspective of quantum bit count, the FJOSA algorithm achieves an optimization rate exceeding 80% for benchmark circuits with 4, 5, 12, 13, 14, and 15 qubits. In contrast, the QELPS algorithm exceeds 80% only in circuits with 4 and 14 qubits. This indicates that FJOSA demonstrates greater adaptability in large-scale circuits, particularly when handling complex structures. It effectively man-ages multi-level dependencies, enhances parallel execution, and improves overall circuit performance. In comparison, the QELPS algorithm shows limitations in optimizing larger-scale circuits.
As shown in Table 2, the execution time of the 2QAN, QELPS, and FJOSA algorithms on the benchmark circuits varies significantly. The 2QAN algorithm has the longest average runtime, while the QELPS and FJOSA algorithms reduce execution time by 56.32% and 66.47%, respectively, compared to 2QAN. The superior optimization of the FJOSA algorithm over QELPS is attributed to its use of a heuristic approach and a cost function to globally optimize SWAP gate insertion. Particularly in large-scale circuits, the FJOSA algorithm effectively balances local and global optimization through its cost function ( λ = 0.63 ).
In small-scale circuits (four and five qubits), the QELPS algorithm reduces runtime by 60.53% compared to 2QAN, whereas the FJOSA algorithm achieves only a 6.05% reduction. This is because the global optimization strategy of FJOSA does not fully demonstrate its advantages in simpler circuits. In contrast, for circuits with more than 10 qubits, the FJOSA algorithm achieves a 66.49% runtime reduction, significantly outperforming the QELPS algorithm. This highlights its strong optimization capability in handling complex circuits.

6.3. Expanding the Number of Qubits

Since previous experiments primarily focused on datasets ranging from four to 16 qubits, we enhance the comprehensiveness of this study by expanding the range of quantum bits. As shown in Figure 7, the FJOSA algorithm builds upon the QELPS algorithm by incorporating a joint global hierarchical strategy. Experimental results indicate that when the parameter λ = 0.63 , the optimization of circuit overhead is particularly significant. This suggests that the weight assigned to SWAP gate overhead should be larger, while the weight of algorithm complexity should be relatively smaller due to its exponential relationship. By appropriately increasing algorithm complexity, the number of SWAP gate insertions can be effectively reduced.
Compared to the QELPS algorithm, the FJOSA algorithm reduces SWAP gate insertions by an average of 16.15% and CNOT gate insertions by an average of 16.2% in quantum circuits ranging from 22 to 12 qubits. In circuits with 10 to four qubits, SWAP gate insertions decrease by an average of 10.4%, while CNOT gate insertions are reduced by an average of 7.7%. These results demonstrate that the FJOSA algorithm is particularly well-suited for large-scale quantum circuits.
Experimental results indicate that the conflict problem of SWAP gates is effectively resolved by the QELPS algorithm through preliminary stratification. This approach results in a significant reduction in the number of inserted SWAP and CNOT gates, thereby improving the efficiency of quantum gate usage. Based on this, a secondary stratification strategy combined with quantum locks is employed, further reducing runtime overhead and enhancing scheduling efficiency. Finally, the FJOSA algorithm is applied within this stratified framework to further decrease the overhead of SWAP and CNOT gates, ultimately achieving a comprehensive optimization of quantum circuit depth and execution efficiency.

7. Conclusions

In response to the core challenges of quantum circuit scheduling in the NISQ era, we propose the QELPS–FJOSA framework. This framework integrates dynamic hierarchical optimization with global coordination strategies. In the QELPS component, SWAP conflict characteristics are employed to control the quantum gate layout in real time. The inter-layer coupling effect is decoupled via a quantum locking mechanism, thereby significantly optimizing circuit depth and reducing SWAP operation redundancy. The FJOSA component is based on cross-layer heuristic search driven by a cost function, which overcomes the limitations of traditional local optimization and achieves a globally optimal approximation of multi-level resource allocation.
The framework demonstrates strong generalization capabilities in heterogeneous architectures such as superconducting, photonic, and ion trap systems. Challenges related to the collaborative optimization of topological constraints, noise accumulation, and timing competition are effectively alleviated, while theoretical and methodological support is provided to improve the practical performance of quantum hardware. Future research will explore the integration of fault-tolerant mechanisms and verify the scalability of the framework in distributed quantum systems, thereby promoting the practical application of quantum computing in the NISQ era.

Author Contributions

Conceptualization, Z.D. and X.L.; Methodology, X.L. and H.L.; Software, Z.D.; Validation, Z.D., X.L. and H.L.; Formal analysis, X.L.; Investigation, Z.D., X.L. and H.L.; Resources, Z.D., X.L. and H.L.; Data curation, H.L.; Writing—original draft preparation, X.L.; Writing—review and editing, Z.D.; Visualization, H.L.; Supervision, Z.D.; Project administration, Z.D.; Funding acquisition, H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Heilongjiang Province LH2024F042.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All values used in the study have been presented in the manuscript, but the complete recorded data are unavailable due to privacy restrictions.

Acknowledgments

We extend our sincere gratitude to Hui Li and Zuoqiang Du for their invaluable technical and administrative support throughout the study, which significantly facilitated its successful completion.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Montanaro, A. Quantum algorithms: An overview. npj Quantum Inf. 2016, 2, 1–8. [Google Scholar] [CrossRef]
  2. Feynman, R.P. Simulating physics with computers. Int. J. Theor. Phys. 1982, 21, 467–488. [Google Scholar] [CrossRef]
  3. Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science (FOCS), Santa Fe, NM, USA, 20–22 November 1994; IEEE: New York, NY, USA, 1994; pp. 124–134. [Google Scholar] [CrossRef]
  4. Blunt, N.S.; Camps, J.; Crawford, O.; Izsák, R.; Leontica, S.; Mirani, A.; Moylett, A.E.; Scivier, S.A.; Sünderhauf, C.; Schopf, P.; et al. A perspective on the current state-of-the-art of quantum computing for drug discovery applications. arXiv 2022, arXiv:2206.00551. [Google Scholar] [CrossRef] [PubMed]
  5. Gambetta, J.M.; Chow, J.M.; Steffen, M. Building logical qubits in a superconducting quantum computing system. npj Quantum Inf. 2017, 3, 2. [Google Scholar] [CrossRef]
  6. Zhou, Y.; Chen, J.; Cheng, J.; Karemore, G.; Zitnik, M.; Chong, F.T.; Liu, J.; Fu, T.; Liang, Z. Quantum-machine-assisted drug discovery: Survey and perspective. arXiv 2024, arXiv:2408.13479. [Google Scholar]
  7. Batra, K.; Zorn, K.M.; Foil, D.H.; Minerali, E.; Gawriljuk, V.O.; Lane, T.R.; Ekins, S. Quantum machine learning algorithms for drug discovery applications. J. Chem. Inf. Model. 2021, 61, 2641–2647. [Google Scholar] [CrossRef]
  8. Moses, S.A.; Baldwin, C.H.; Allman, M.S.; Ancona, R.; Ascarrunz, L.; Barnes, C.; Bartolotta, J.; Bjork, B.; Blanchard, P. A race-track trapped-ion quantum processor. Phys. Rev. X 2023, 13, 041052. [Google Scholar] [CrossRef]
  9. Nayak, C.; Simon, S.H.; Stern, A.; Freedman, M.; Das Sarma, S. Non-Abelian anyons and topological quantum computation. Rev. Mod. Phys. 2008, 80, 1083–1159. [Google Scholar] [CrossRef]
  10. Loss, D.; DiVincenzo, D.P. Quantum computation with quantum dots. Phys. Rev. A 1998, 57, 120–126. [Google Scholar] [CrossRef]
  11. Kloeffel, C.; Loss, D. Prospects for spin-based quantum computing in quantum dots. Annu. Rev. Condens. Matter Phys. 2013, 4, 51–81. [Google Scholar] [CrossRef]
  12. Guerreschi, G.G.; Park, J. Two step approach to scheduling quantum circuits. arXiv 2018, arXiv:1708.00023. [Google Scholar] [CrossRef]
  13. Li, G.; Shi, Y.; Javadi-Abhari, A. Software-hardware co-optimization for computational chemistry on superconducting quantum processors. arXiv 2021, arXiv:2105.07127. [Google Scholar]
  14. Glaser, N.J.; Roy, F.A.; Tsitsilin, I.; Koch, L.; Bruckmoser, N.; Schirk, J.; Romeiro, J.H.; Huber, G.B.P.; Wallner, F.; Singh, M.; et al. Sensitivity-adapted closed-loop optimization for high-fidelity controlled-Z gates in superconducting qubits. arXiv 2024, arXiv:2412.17454. [Google Scholar]
  15. Barends, R.; Kelly, J.; Megrant, A.; Veitia, A.; Sank, D.; Jeffrey, E.; White, T.C.; Mutus, J.; Fowler, A.G.; Campbell, B.; et al. Superconducting quantum circuits at the surface code threshold for fault tolerance. Nature 2014, 508, 500–503. [Google Scholar] [CrossRef]
  16. Murali, P.; Linke, N.M.; Martonosi, M.; Abhari, A.J.; Nguyen, N.H.; Alderete, C.H. Full-stack, real-system quantum computer studies: Architectural comparisons and design insights. In Proceedings of the 46th Annual International Symposium on Computer Architecture (ISCA), Phoenix, AZ, USA, 22–26 June 2019; ACM: New York, NY, USA, 2019; pp. 527–540. [Google Scholar] [CrossRef]
  17. Cai, Z.; Babbush, R.; Benjamin, S.C.; Endo, S.; Huggins, W.J.; Li, Y.; McClean, J.R.; O'Brien, T.E. Quantum error mitigation. Rev. Mod. Phys. 2023, 95, 045005. [Google Scholar] [CrossRef]
  18. Ravi, G.S.; Smith, K.N.; Gokhale, P.; Mari, A.; Earnest, N.; Javadi-Abhari, A.; Chong, F.T. VAQEM: A variational approach to quantum error mitigation. arXiv 2021, arXiv:2112.05821. [Google Scholar]
  19. Kan, S.; Du, Z.; Palma, M.; Stein, S.A.; Liu, C.; Wei, W.; Chen, J.; Li, A.; Mao, Y. Scalable circuit cutting and scheduling in a resource-constrained and distributed quantum system. In Proceedings of the IEEE International Conference on Quantum Computing and Engineering (QCE), Montreal, QC, Canada, 15–20 September 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1077–1088. [Google Scholar]
  20. Wu, X.-C.; Ding, Y.; Shi, Y.; Alexeev, Y.; Finkel, H.; Kim, K.; Chong, F.T. ILP-based scheduling for linear-tape model trapped-ion quantum computers. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC19), Denver, CO, USA, 17–22 November 2019; Available online: https://sc19.supercomputing.org/proceedings/tech_poster/tech_poster_pages/rpost216.html (accessed on 1 February 2025).
  21. Bhoumik, D.; Majumdar, R.; Saha, A.; Sur-Kolay, S. Distributed scheduling of quantum circuits with noise and time optimization. arXiv 2023, arXiv:2309.06005. [Google Scholar]
  22. Zhou, X.Z.; Fang, Y.; Li, S.J. Quantum circuit transformation: A Monte Carlo tree search framework. In Proceedings of the 49th Annual International Symposium on Computer Architecture (ISCA), New York, NY, USA, 18–22 June 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 1021–1034. [Google Scholar] [CrossRef]
  23. Bouchmal, O.; Cimoli, B.; Stabile, R.; Vegas Olmos, J.J.; Tafur Monroy, I. Quantum approximate optimization algorithm for routing optimization in 6G optical networks. In Proceedings of the 2024 International Conference on Optical Network Design and Modeling (ONDM 2024), Madrid, Spain, 6–9 May 2024; pp. 1–6. [Google Scholar] [CrossRef]
  24. Kanno, S.; Sugisaki, K.; Nakamura, H.; Yamauchi, H.; Sakuma, R.; Kobayashi, T.; Gao, Q.; Yamamoto, N. Tensor-based quantum phase difference estimation for large-scale demonstration. arXiv 2024, arXiv:2408.04946. [Google Scholar]
  25. Perriello, S.; Barenghi, A.; Pelosi, G. A complete quantum circuit to solve the information set decoding problem. In Proceedings of the 2021 IEEE International Conference on Quantum Computing and Engineering (QCE), Broomfield, CO, USA, 17–22 October 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 366–377. [Google Scholar] [CrossRef]
  26. Grzesiak, N.; Maksymov, A.; Niroula, P.; Nam, Y. Efficient quantum programming using EASE gates on a trapped-ion quantum computer. Quantum 2022, 6, 634. [Google Scholar] [CrossRef]
  27. Lu, L.; Shen, L.; Gao, W.; Zhou, L.; Chen, J. Reconfigurable silicon photonic processor based on SCOW resonant structures. IEEE Photonics J. 2019, 11, 1–9. [Google Scholar] [CrossRef]
  28. Kanaar, D.W.; Wolin, S.; Güngördü, U.; Kestner, J.P. Single-tone pulse sequences and robust two-tone shaped pulses for three silicon spin qubits with always-on exchange. Phys. Rev. B 2021, 103, 235314. [Google Scholar] [CrossRef]
  29. Ding, Q.; Oppenheim, A.V.; Boufounos, P.T.; Gustavsson, S.; Grover, J.A.; Baran, T.A.; Oliver, W.D. Pulse design of baseband flux control for adiabatic controlled-phase gates in superconducting circuits. arXiv 2024, arXiv:2407.02722. [Google Scholar]
  30. Yale, C.G.; Buckley, B.B.; Christle, D.J.; Burkard, G.; Heremans, F.J.; Bassett, L.C.; Awschalom, D.D. All-optical control of a solid-state spin using coherent dark states. Proc. Natl. Acad. Sci. USA 2013, 110, 7595–7600. [Google Scholar] [CrossRef]
  31. Das Sarma, S.; Freedman, M.; Nayak, C. Majorana zero modes and topological quantum computation. npj Quantum Inf. 2015, 1, 15001. [Google Scholar] [CrossRef]
  32. Che, S.; Oh, S.W.; Qin, H.; Liu, Y.; Sigillito, A.; Li, G. Fast virtual gate extraction for silicon quantum dot devices. arXiv 2024, arXiv:2409.15181. [Google Scholar]
  33. Krantz, P.; Kjaergaard, M.; Yan, F.; Orlando, T.P.; Gustavsson, S.; Oliver, W.D. A quantum engineer's guide to superconducting qubits. Appl. Phys. Rev. 2019, 6, 021318. [Google Scholar] [CrossRef]
  34. Sorourifar, F.; Chamaki, D.; Tubman, N.M.; Paulson, J.A.; Bernal Neira, D. Bayesian optimization priors for efficient variational quantum algorithms. arXiv 2024, arXiv:2406.14627. [Google Scholar]
  35. Murali, P.; Baker, J.M.; Javadi-Abhari, A.; Chong, F.T.; Martonosi, M. Noise-adaptive compiler mappings for noisy intermediate-scale quantum computers. In Proceedings of the 24th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Providence, RI, USA, 13–17 April 2019; pp. 1015–1029. [Google Scholar] [CrossRef]
  36. Cirac, J.I.; Ekert, A.K.; Huelga, S.F.; Macchiavello, C. Distributed quantum computation over noisy channels. Phys. Rev. A 1999, 59, 4249–4254. [Google Scholar] [CrossRef]
  37. Altintas, A.A.; Ozaydin, F.; Bayindir, C.; Bayrakci, V. Prisoners’ dilemma in a spatially separated system based on spin–photon interactions. Photonics 2022, 9, 617. [Google Scholar] [CrossRef]
  38. Koshino, K.; Inomata, K. Bidirectional state transfer between superconducting and microwave-photon qubits by single reflection. Phys. Rev. Appl. 2024, 21, 054049. [Google Scholar] [CrossRef]
  39. Ozaydin, F.; Yesilyurt, C.; Bugu, S.; Koashi, M. Deterministic preparation of W states via spin-photon interactions. Phys. Rev. A 2021, 103, 052421. [Google Scholar] [CrossRef]
  40. Main, D.; Drmota, P.; Nadlinger, D.P.; Ainley, E.M.; Agrawal, A.; Nichol, B.C.; Srinivas, R.; Araneda, G.; Lucas, D.M. Distributed quantum computing across an optical network link. Nature 2025, 629, 55–60. [Google Scholar] [CrossRef] [PubMed]
  41. Hietala, K.; Rand, R.; Hung, S.-H.; Wu, X.; Hicks, M. A verified optimizer for quantum circuits. Proc. ACM Program. Lang. 2021, 5, 37. [Google Scholar] [CrossRef]
  42. Chong, F.T.; Franklin, D.; Martonosi, M. Programming languages and compiler design for realistic quantum hardware. Nature 2017, 549, 180–187. [Google Scholar] [CrossRef]
  43. Maslov, D. Basic circuit compilation techniques for an ion-trap quantum machine. New J. Phys. 2017, 19, 023035. [Google Scholar] [CrossRef]
  44. Bravyi, S.; Gosset, D.; König, R. Quantum advantage with shallow circuits. Science 2018, 362, 308–311. [Google Scholar] [CrossRef] [PubMed]
  45. Ryan-Anderson, C.; Bohnet, J.G.; Lee, K.; Gresh, D.; Hankin, A.; Gaebler, J.P.; Francois, D.; Chernoguzov, A.; Lucchetti, D. Realization of real-time fault-tolerant quantum error correction. Phys. Rev. X 2021, 11, 041058. [Google Scholar] [CrossRef]
  46. Sivarajah, S.; Dilkes, S.; Cowtan, A.; Simmons, W.; Edgington, A.; Duncan, R. t|ket⟩: A retargetable compiler for NISQ devices. Quantum Sci. Technol. 2020, 5, 034010. [Google Scholar] [CrossRef]
  47. Liu, J.; Wang, H.; Ma, Z.; Duan, Q.; Fei, Y.; Meng, X. Quantum circuit optimization for solving discrete logarithm of binary elliptic curves obeying the nearest-neighbor constrained. Entropy 2022, 24, 955. [Google Scholar] [CrossRef]
  48. Choi, J.; Oh, S.; Kim, J. Quantum approximation for wireless scheduling. Appl. Sci. 2020, 10, 7116. [Google Scholar] [CrossRef]
  49. Misevičius, A.; Andrejevas, A.; Ostreika, A.; Verenė, D.; Žekienė, G. An improved hybrid genetic-hierarchical algorithm for the quadratic assignment problem. Mathematics 2024, 12, 3726. [Google Scholar] [CrossRef]
  50. Jang, K.; Oh, Y.; Seo, H. Depth-optimized quantum circuit of Gauss–Jordan elimination. Appl. Sci. 2024, 14, 8579. [Google Scholar] [CrossRef]
  51. Booth, K.E.C. Constraint programming models for depth-optimal qubit assignment and SWAP-based routing. In Proceedings of the Leibniz International Proceedings in Informatics (LIPIcs), International Conference on Principles and Practice Constraint Program. (CP 2023), Dagstuhl, Germany, 22–29 September 2023; Volume 280, pp. 43:1–43:10. [Google Scholar] [CrossRef]
  52. Amy, M.; Maslov, D.; Mosca, M.; Roetteler, M. A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2013, 32, 818–830. [Google Scholar] [CrossRef]
  53. Kaewpuang, R.; Xu, M.; Hoang, D.T.; Niyato, D.; Yu, H.; Li, R.; Xiong, Z.; Kang, J. Elastic entangled pair and qubit resource management in quantum cloud computing. arXiv 2023, arXiv:2307.13185. [Google Scholar]
  54. Cross, A.W.; Javadi-Abhari, A.; Alexander, T.; De Beaudrap, N.; Bishop, L.S.; Heidel, S.; Ryan, C.A.; Sivarajah, P.; Smolin, J.A.; Gambetta, J.M.; et al. OpenQASM 3: A broader and deeper quantum assembly language. ACM Trans. Quantum Comput. 2022, 3, 1–32. [Google Scholar] [CrossRef]
  55. Peng, B.; Li, X.; Gao, J.; Liu, J.; Wong, K.-F. Deep Dyna-Q: Integrating planning for task-completion dialogue policy learning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (ACL 2018), Melbourne, VIC, Australia, 15–20 July 2018; pp. 2184–2194. [Google Scholar] [CrossRef]
  56. Brandhofer, S.; Polian, I.; Krsulich, K. Optimal qubit reuse for near-term quantum computers. arXiv 2023, arXiv:2308.00194. [Google Scholar]
  57. Zhang, P.Y.; Zhou, M.C. Dynamic cloud task scheduling based on a two-stage strategy. IEEE Trans. Autom. Sci. Eng. 2018, 15, 772–783. [Google Scholar] [CrossRef]
  58. Murali, P.; McKay, D.C.; Martonosi, M.; Javadi-Abhari, A. Software mitigation of crosstalk on noisy intermediate-scale quantum computers. In Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS’20), Lausanne, Switzerland, 16–20 March 2020; pp. 1001–1016. [Google Scholar] [CrossRef]
  59. Quetschlich, N.; Burgholzer, L.; Wille, R. MQT Bench: Benchmarking software and design automation tools for quantum computing. Quantum 2023, 7, 1062. [Google Scholar] [CrossRef]
  60. Wang, G.; França, D.S.; Rendon, G.; Johnson, P.D. Efficient ground-state energy estimation and certification on early fault-tolerant quantum computers. arXiv 2023, arXiv:2304.09827. [Google Scholar] [CrossRef]
  61. Wan, K.; Berta, M.; Campbell, E.T. Randomized quantum algorithm for statistical phase estimation. Phys. Rev. Lett. 2022, 129, 030503. [Google Scholar] [CrossRef]
  62. Xu, A.; Molavi, A.; Pick, L.; Tannu, S.; Albarghouthi, A. Synthesizing quantum-circuit optimizers. In Proceedings of the ACM on Programming Languages; ACM: New York, NY, USA, 2023; Volume 7, p. 140. [Google Scholar] [CrossRef]
  63. Zhang, Y.-H.; Zheng, P.-L.; Zhang, Y.; Deng, D.-L. Topological quantum compiling with reinforcement learning. Phys. Rev. Lett. 2020, 125, 170501. [Google Scholar] [CrossRef]
  64. Lloyd, S. Universal quantum simulators. Science 1996, 273, 1073–1078. [Google Scholar] [CrossRef] [PubMed]
  65. Litteken, A. Adapting Compilation Strategies for Architecture-Specific Features in Quantum Computing. Ph.D. Thesis, University of Chicago, Chicago, IL, USA, 2022. Available online: https://knowledge.uchicago.edu/record/6411 (accessed on 4 February 2025).
  66. Bravyi, S.; Shaydulin, R.; Hu, S.; Maslov, D. Clifford circuit optimization with templates and symbolic Pauli gates. Quantum 2021, 5, 580. [Google Scholar] [CrossRef]
  67. Gheorghiu, V.; Huang, J.; Li, S.M.; Mosca, M.; Mukhopadhyay, P. Reducing the CNOT count for Clifford+T circuits on NISQ architectures. arXiv 2020, arXiv:2011.12191. [Google Scholar] [CrossRef]
  68. Li, S.; Zhou, X.; Feng, Y. Benchmarking quantum circuit transformation with QKNOB circuits. arXiv 2023, arXiv:2301.08932. [Google Scholar] [CrossRef]
  69. Niu, S.Y.; Suau, A.; Staffelbach, G.; Todri-Sanial, A. A hardware-aware heuristic for the qubit mapping problem in the NISQ era. IEEE Trans. Quantum Eng. 2020, 1, 3101614. [Google Scholar] [CrossRef]
  70. Zhu, P.; Cheng, X.; Guan, Z. An exact qubit allocation approach for NISQ architectures. Quantum Inf. Process. 2020, 19, 391. [Google Scholar] [CrossRef]
  71. Zhou, X.; Feng, Y.; Li, S. A Monte Carlo tree search framework for quantum circuit transformation. In Proceedings of the 39th International Conference on Computer-Aided Design, San Diego, CA, USA, 2–5 November 2020; pp. 1–7. [Google Scholar] [CrossRef]
  72. Nam, Y.; Ross, N.J.; Su, Y.; Childs, A.M.; Maslov, D. Automated optimization of large quantum circuits with continuous parameters. npj Quantum Inf. 2018, 4, 23. [Google Scholar] [CrossRef]
  73. Wille, R.; Van Meter, R.; Naveh, Y. IBM’s Qiskit tool chain: Working with and developing for real quantum computers. In Proceedings of the 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE), Florence, Italy, 25–29 March 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1234–1240. [Google Scholar] [CrossRef]
  74. IBM Quantum; Quantum Processing Units (QPUs). IBM Quantum Documentation; IBM: Armonk, NY, USA, 2025; Available online: https://docs.quantum.ibm.com/guides/qpu-information (accessed on 1 April 2025).
  75. Lao, L.; Browne, D.E. 2QAN: A quantum compiler for 2-local qubit Hamiltonian simulation algorithms. arXiv 2021, arXiv:2108.02099. [Google Scholar]
Figure 1. Example of quantum circuit scheduling: (a) Quantum device architecture; (b) Initial quantum circuit; (c) Basic quantum gate; (d) Quantum circuit after scheduling.
Figure 1. Example of quantum circuit scheduling: (a) Quantum device architecture; (b) Initial quantum circuit; (c) Basic quantum gate; (d) Quantum circuit after scheduling.
Applsci 15 06373 g001
Figure 2. The hardware architecture of a quantum circuit and the quantum circuit after the first layering.
Figure 2. The hardware architecture of a quantum circuit and the quantum circuit after the first layering.
Applsci 15 06373 g002
Figure 3. Quantum circuit after secondary stratification: (a) Quantum gate duration diagram; (b) Quantum circuit after secondary stratification improvement.
Figure 3. Quantum circuit after secondary stratification: (a) Quantum gate duration diagram; (b) Quantum circuit after secondary stratification improvement.
Applsci 15 06373 g003
Figure 4. Initial mapping quantum circuit diagram: (a) Original hardware architecture; (b) Original logic circuit diagram.
Figure 4. Initial mapping quantum circuit diagram: (a) Original hardware architecture; (b) Original logic circuit diagram.
Applsci 15 06373 g004
Figure 5. Quantum circuit after optimization with n 1 = 2 : (a) Original hardware architecture with n 1 = 2 ; (b) Original logic circuit diagram with n 1 = 2 .
Figure 5. Quantum circuit after optimization with n 1 = 2 : (a) Original hardware architecture with n 1 = 2 ; (b) Original logic circuit diagram with n 1 = 2 .
Applsci 15 06373 g005
Figure 6. Quantum circuit after optimization with n 1 = 0 : (a) Original hardware architecture with n 1 = 0 ; (b) Original logic circuit diagram with n 1 = 0 .
Figure 6. Quantum circuit after optimization with n 1 = 0 : (a) Original hardware architecture with n 1 = 0 ; (b) Original logic circuit diagram with n 1 = 0 .
Applsci 15 06373 g006
Figure 7. Comparison of optimization results between QELPS and FJOSA: (a) Comparison of SWAP gate counts; (b) Comparison of CNOT gate counts.
Figure 7. Comparison of optimization results between QELPS and FJOSA: (a) Comparison of SWAP gate counts; (b) Comparison of CNOT gate counts.
Applsci 15 06373 g007
Table 1. Comparison of the additional gate counts of 2QAN, QELPS, and FJOSA.
Table 1. Comparison of the additional gate counts of 2QAN, QELPS, and FJOSA.
NamesQubitsInitial Circuit2QANQELPSFJOSA
decod24-v2_43452000
4mod5-v1_22525100
mod5mils_65537484
alu-v0_27538040
4gt13_92568987
ising_model_10104781300
qft_1010198261620
sqn_2581010,225494933743054
sym9_1481094104064851673
9symml_1951134,88313,95398598373
z4_2681130751770766547
wim_2661142523212591
sym9_1931134,87913,94897518416
rd84_2531213,660568046733762
cycle10_2_1101260482675674477
sqrt8_260121312848756500
ising_model_1313635854719
radd_2501332151470879620
qft_13134012069575
adr4_1971334371689752625
clip_2061414,774601332302764
pm1_2491417741242429399
sym6_31614268996930
rd84_142153412268259
misex1_241154815281412061043
square_root_715762836451001852
urf615171,84274,31744534109
co14_2151517,9348381580418
ising_model_1616784314160125
qft_161651033213592
Table 2. Comparison of execution time of 2QAN, QELPS and FJOSA.
Table 2. Comparison of execution time of 2QAN, QELPS and FJOSA.
NamesQubits2QANQELPSFJOSA
decod24-v2_4340.120.060.12
4mod5-v1_2250.150.10.14
mod5mils_6550.170.050.13
alu-v0_2750.140.050.17
4gt13_9250.170.040.2
ising_model_10101.240.050.1
qft_10101.230.050.06
sqn_2581094.5925.8118.23
sym9_1481065.0932.1117.32
9symml_19511305.49232.72210.15
z4_2681140.247.95.54
wim_2661174.5133.9320.22
sym9_19311314.21213.42184.61
rd84_25312140.5763.9145.96
cycle10_2_1101259.0915.3513.48
sqrt8_2601296.6826.8212.67
ising_model_13137.310.20.12
radd_2501315.790.240.2
qft_131314.240.540.16
adr4_1971345.7211.779.98
clip_2061480.0619.6615.52
pm1_24914105.430.2615.24
sym6_31614118.1531.2118.88
rd84_142152.840.070.16
misex1_2411550.614.5210.45
square_root_71584.1320.3710.32
urf61595.7421.179.7
co14_21515186.294.3553.19
ising_model_16163.70.120.2
qft_16169.280.150.21
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Du, Z.; Li, X.; Li, H. QELPS Algorithm: A Novel Dynamic Optimization Technology for Quantum Circuits Scheduling Engineering Problems. Appl. Sci. 2025, 15, 6373. https://doi.org/10.3390/app15116373

AMA Style

Du Z, Li X, Li H. QELPS Algorithm: A Novel Dynamic Optimization Technology for Quantum Circuits Scheduling Engineering Problems. Applied Sciences. 2025; 15(11):6373. https://doi.org/10.3390/app15116373

Chicago/Turabian Style

Du, Zuoqiang, Xingjie Li, and Hui Li. 2025. "QELPS Algorithm: A Novel Dynamic Optimization Technology for Quantum Circuits Scheduling Engineering Problems" Applied Sciences 15, no. 11: 6373. https://doi.org/10.3390/app15116373

APA Style

Du, Z., Li, X., & Li, H. (2025). QELPS Algorithm: A Novel Dynamic Optimization Technology for Quantum Circuits Scheduling Engineering Problems. Applied Sciences, 15(11), 6373. https://doi.org/10.3390/app15116373

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop