betaFeedback

WorksPhysics and Astronomy

Hybrid Quantum-Classical Optimization for Emergency-Priority Traffic Signal Control

Abstract

Emergency-priority traffic signal control requires reducing emergency-vehicle delay while limiting disruption to ordinary traffic. This work investigates a finite-horizon QUBO formulation and compares Exact QUBO optimization, QAOA, CVaR-QAOA, a quantum machine-learning policy, fixed-time control, and max-pressure control in a three-intersection corridor. The study evaluates three traffic-demand regimes, examines the effect of the emergency-priority weight, and compares quantum solutions with the exact QUBO optimum. The optimization-based controllers achieved reliable emergency progression across all tested demand regimes, while max-pressure produced lower ordinary-traffic delay. Increasing emergency priority reduced emergency travel time but increased congestion, with diminishing improvements at larger weights. CVaR-QAOA reproduced the exact QUBO solution more accurately than standard QAOA, although the resulting differences in closed-loop traffic performance were comparatively small.

Introduction

Urban traffic-signal control is fundamentally a multi-objective problem in which reducing congestion must be balanced against additional operational priorities [15, 52, 39]. Emergency vehicles introduce a particularly demanding case because signal decisions should reduce their delay without causing excessive disruption to ordinary traffic [25, 51, 24]. Conventional fixed-time strategies cannot respond to such events, while adaptive approaches such as queue-responsive and max-pressure control react to observed traffic conditions but do not necessarily incorporate explicit emergency-priority objectives [48, 12, 38].1

Optimization-based traffic control provides a natural way to encode this trade-off by combining queue conditions, coordination requirements, switching penalties, and emergency priority within a common objective [23, 29, 49]. In particular, quadratic unconstrained binary optimization (QUBO) [40, 28] formulations are attractive because discrete signal decisions can be represented directly as binary variables and solved using either classical or quantum optimization methods [33, 45]. Variational quantum algorithms such as quantum approximate optimization algorithm (QAOA) [53] have therefore been investigated as candidate approaches for combinatorial optimization, while risk-sensitive variants based on conditional value at risk can concentrate optimization on lower-energy regions of the sampled distribution [14, 31, 30]. Quantum machine-learning approaches provide a complementary possibility in which a parameterized quantum model learns a control policy from optimization-generated examples [32, 11, 26, 2]. More broadly, variational quantum algorithms have been developed and evaluated for a variety of problems, including ground- and excited-state electronic structure and near-degenerate quantum systems [4, 21, 9].

However, evaluating such methods for traffic control requires more than comparing optimization-objective values. In a receding-horizon controller, only the first decision of an optimized schedule is executed before the problem is rebuilt, and safety constraints can further modify the requested phase. Consequently, a more accurate solution of the underlying QUBO does not necessarily translate directly into improved closed-loop traffic performance. Moreover, emergency-priority control introduces an explicit trade-off between emergency progression and ordinary congestion that must be evaluated across different demand regimes and priority strengths. This work addresses these issues through a controlled comparison of classical baselines, Exact QUBO optimization, QAOA, conditional value-at-risk quantum approximate optimization algorithm (CVaR-QAOA) [3, 50, 42], and a quantum machine learning (QML) policy in a coordinated three-intersection corridor.

Research Questions

This study addresses three research questions. RQ1: How effectively do the QUBO-based, quantum-optimization, and quantum-learning controllers reduce emergency-vehicle delay while maintaining ordinary traffic performance compared with fixed-time and max-pressure control? RQ2: How does the emergency-priority weight affect the trade-off between emergency-vehicle progression and ordinary traffic congestion? RQ3: To what extent do QAOA and CVaR-QAOA approximate the exact finite-horizon QUBO solution, and how strongly do QUBO solution errors influence traffic-control performance?

Contributions

The main contributions of this work are a finite-horizon QUBO formulation for coordinated emergency-priority traffic control; a comparison of Exact QUBO, QAOA, CVaR-QAOA, and QML with fixed-time and max-pressure baselines; evaluation under balanced, main-road-dominant, and side-street-dominant traffic demand; analysis of the emergency-priority coefficient λem\lambda_{\mathrm{em}} and step-level comparison of QAOA and CVaR-QAOA with exact QUBO solutions.

Background and Related Work

Traffic signal control has evolved from fixed-time scheduling toward adaptive and optimization-based strategies that respond to changing traffic conditions. In the context of emergency-priority control, these approaches must balance rapid emergency-vehicle progression with the need to maintain acceptable performance for ordinary traffic. This section reviews the main classical and quantum optimization concepts relevant to the control methods evaluated in this work.

Adaptive Traffic Signal Control

Traffic-signal control ranges from fixed-time schedules [44, 46] to adaptive queue-responsive methods [1, 7]. Fixed-time control is simple and reproducible but does not react to changing demand or emergency vehicles. Adaptive controllers [43, 13] instead use the current traffic state to choose phases, while emergency-priority control [10, 41] additionally seeks to reduce emergency waiting and travel time. This introduces a trade-off between emergency progression and ordinary traffic congestion.

This work compares fixed-time and queue-responsive classical baselines with exact QUBO optimization, QAOA, CVaR-QAOA, and a quantum machine-learning policy. All controllers use the same safety supervisor.

QUBO-Based Optimization

A quadratic unconstrained binary optimization problem [28, 40] uses binary variables xj∈{0,1}x_j \in\{0,1\} and minimizes

E(x)=∑j=0n−1ljxj+∑0≤j<r<nQjrxjxr,(1)E(\mathbf{x}) = \sum_{j=0}^{n-1} l_j x_j + \sum_{0 \le j < r < n} Q_{jr} x_j x_r, \tag*{(1)}

where x=(x0,…,xn−1)\mathbf{x} = (x_0,\ldots,x_{n-1}) is the binary decision vector, nn is the number of variables, ljl_j is the linear coefficient of xjx_j, and QjrQ_{jr} is the quadratic coupling between xjx_j and xrx_r.

In this work, the binary variables represent traffic-light decisions over a finite prediction horizon.

Quantum Approximate Optimization Algorithm

The QUBO is mapped to Ising variables through

xj=1−zj2,zj∈{−1,+1},(2)x_j = \frac{1-z_j}{2}, \qquad z_j \in\{-1,+1\}, \tag*{(2)}

where zjz_j is the spin variable corresponding to binary variable xjx_j. The QAOA cost Hamiltonian [8] is

HC=∑j=0n−1hjZj+∑0≤j<r<nJjrZjZr,(3)H_C = \sum_{j=0}^{n-1} h_j Z_j + \sum_{0\leq j<r<n} J_{jr} Z_j Z_r, \tag*{(3)}

where hjh_j and JjrJ_{jr} are the Ising linear and interaction coefficients, and ZjZ_j is the Pauli-ZZ operator acting on qubit jj. The mixer Hamiltonian is

HM=∑j=0n−1Xj,(4)H_M = \sum_{j=0}^{n-1} X_j, \tag*{(4)}

where XjX_j is the Pauli-XX operator on qubit jj.

For QAOA depth pp, the variational state is

∣ψ(γ,β)⟩=∏ℓ=1pe−iβℓHMe−iγℓHC∣+⟩⊗n,(5)\lvert\psi(\gamma,\beta)\rangle= \prod_{\ell=1}^{p} e^{-i\beta_\ell H_M} e^{-i\gamma_\ell H_C} \lvert+\rangle^{\otimes n}, \tag*{(5)}

where γ=(γ1,…,γp)\gamma=(\gamma_1,\ldots,\gamma_p) and β=(β1,…,βp)\beta=(\beta_1,\ldots,\beta_p) are trainable QAOA parameters. Standard QAOA minimizes the expected QUBO energy

Fqaoa(θ)=∑xPθ(x)E(x),(6)F_{\mathrm{qaoa}}(\theta) = \sum_{\mathbf{x}} P_\theta(\mathbf{x}) E(\mathbf{x}), \tag*{(6)}

where θ=(γ,β)\theta=(\gamma,\beta) and Pθ(x)P_\theta(\mathbf{x}) is the probability assigned to bitstring x\mathbf{x}.

Variational quantum algorithms rely on a hybrid optimization loop in which the performance of the quantum model can depend strongly on the choice of classical optimizer, parameterization, and the presence of sampling or hardware noise [37, 16, 35, 5]. Systematic comparisons of optimization strategies have therefore become an important component of evaluating variational quantum methods [34]. QAOA has also been investigated outside its original combinatorial-optimization setting, including applications such as software-engineering testcase selection [47].

CVaR-QAOA

CVaR-QAOA [3] uses the same circuit as standard QAOA but optimizes only the lowest-energy fraction of the output probability distribution.

Let the bitstrings be ordered so that

E(x(1))≤E(x(2))≤⋯≤E(x(2n)),(7)E\left(\mathbf{x}^{(1)}\right) \leq E\left(\mathbf{x}^{(2)}\right) \leq\cdots\leq E\left(\mathbf{x}^{(2^n)}\right), \tag*{(7)}

and let pr=Pθ(x(r))p_r=P_\theta\left(\mathbf{x}^{(r)}\right). For CVaR fraction αCVaR∈(0,1]\alpha_{\mathrm{CVaR}}\in(0,1], the probability mass taken from state rr is

wr=min⁡{pr,max⁡[0,αCVaR−∑s=1r−1ws]}.(8)w_r = \min\left\{p_r,\max\left[0,\alpha_{\mathrm{CVaR}}-\sum_{s=1}^{r-1}w_s\right]\right\}. \tag*{(8)}

The CVaR objective is

FCVaR(θ)=∑rwrE(x(r))max⁡{∑rwr,10−15}(9)F_{\mathrm{CVaR}}(\theta)=\frac{\sum_r w_r E(x^{(r)})}{\max\left\{\sum_r w_r,10^{-15}\right\}} \tag*{(9)}

The default value used in the experiments is αCVaR=0.20\alpha_{\mathrm{CVaR}}=0.20.

Quantum Machine Learning for Control

Parameterized quantum models have been investigated across a range of classification and hybrid-learning settings, with recent studies emphasizing the importance of circuit architecture, feature representation, trainability, and the interaction between classical and quantum components [19, 20, 17, 18]. Quantum neural-network approaches have also been explored in applied prediction problems, including clinical classification tasks [36].

In this work, the QML controller is trained offline to imitate the first action chosen by the exact QUBO controller. It uses one qubit per intersection and receives queue, phase, phase-age, and emergency-proximity features. Its trainable parameters remain fixed during traffic simulation.

Traffic-Control Model

The traffic-control problem is formulated on a signalized corridor in which vehicle queues, signal phases, and emergency-vehicle progression evolve over discrete simulation steps. The model provides the common traffic state and decision representation used by all controllers, allowing their behavior to be compared under identical traffic and safety conditions.

Corridor and Traffic State

The corridor contains NN signalized intersections. At simulation step kk, the main-road and side-street queue lengths at intersection ii are

qiM(k),qiS(k),(10)q_i^{M}(k), \qquad q_i^{S}(k), \tag*{(10)}

where i∈{0,…,N−1}i \in\{0,\ldots,N-1\}, superscripts MM and SS denote the main road and side street, respectively, and kk denotes the simulation step.

An emergency vehicle travels along the main corridor. Its movement and waiting are simulated explicitly, while queue lengths are updated by the traffic-flow model.

Signal Decisions

Each controller returns a desired binary phase

di(k)={1,main-road green,0,side-street green,(11)d_i(k)= \begin{cases} 1, & \text{main-road green},\\ 0, & \text{side-street green}, \end{cases} \tag*{(11)}

where di(k)d_i(k) is the requested phase at intersection ii and step kk. The safety supervisor converts this request into the actuated phase

ui(k)∈{−1,0,1},(12)u_i(k) \in\{-1,0,1\}, \tag*{(12)}

where ui(k)=−1u_i(k)=-1 denotes all-red, ui(k)=0u_i(k)=0 side-street green, and ui(k)=1u_i(k)=1 main-road green.

Safety Supervisor

For each intersection, the supervisor stores the current phase, its age, an all-red countdown, and an optional pending phase. A phase change is allowed only when

Ai(k)≥Gmin⁡,(13)A_i(k) \ge G_{\min}, \tag*{(13)}

where Ai(k)A_i(k) is the age of the current green phase and Gmin⁡G_{\min} is the minimum-green duration. The experiments use

Gmin⁡=4,R=1,(14)G_{\min}=4,\qquad R=1, \tag*{(14)}

where RR is the number of all-red transition steps.

Control Methods

The evaluated control strategies range from simple classical baselines to optimization-based and quantum approaches. Each controller receives the same traffic state and produces desired signal-phase decisions, which are subsequently processed by the common safety supervisor described in § 3. This section defines the individual control methods and their implementation within the experimental framework.

Fixed-Time Controller

The fixed-time controller alternates between main-road and side-street green in blocks of length Gmin⁡G_{\min}. The block index is

b(k)=⌊kmax⁡{1,Gmin⁡}⌋,(15)b(k)=\left\lfloor\frac{k}{\max\{1,G_{\min}\}}\right\rfloor, \tag*{(15)}

and the desired phase is

di(k)={1,b(k)mod⁡2=0,0,b(k)mod⁡2=1.(16)d_i(k)= \begin{cases} 1, & b(k)\mathbin{\operatorname{mod}}2=0,\\ 0, & b(k)\mathbin{\operatorname{mod}}2=1. \end{cases} \tag*{(16)}

Here, b(k)b(k) is the current timing block.

Simplified Max-Pressure Controller

The implemented max-pressure baseline compares the local queues:

di(k)={1,qiM(k)≥qiS(k),0,qiM(k)<qiS(k).(17)d_i(k) = \begin{cases} 1, & q_i^M(k) \ge q_i^S(k), \\ 0, & q_i^M(k) < q_i^S(k). \end{cases} \tag*{(17)}

Ties are resolved in favor of the main road. The controller does not use downstream pressure, turning ratios, prediction horizons, or emergency information.

Finite-Horizon QUBO Controller

Decision Variables For intersection ii and horizon position tt, the decision variable is

xi,t∈{0,1},(18)x_{i,t} \in\{0,1\}, \tag*{(18)}

where xi,t=1x_{i,t}=1 requests main-road green and xi,t=0x_{i,t}=0 requests side-street green. The pair (i,t)(i,t) is flattened as

j(i,t)=iT+t,(19)j(i,t) = iT + t, \tag*{(19)}

where TT is the optimization horizon length. Therefore,

n=NT(20)n = NT \tag*{(20)}

is the total number of QUBO variables.

Queue-Pressure Term The predicted queues are initialized as

q^iM(0)=qiM(k),q^iS(0)=qiS(k),(21)\widehat{q}_i^M(0) = q_i^M(k), \qquad\widehat{q}_i^S(0) = q_i^S(k), \tag*{(21)}

where q^iM(t)\widehat{q}_i^M(t) and q^iS(t)\widehat{q}_i^S(t) are predicted queues at horizon position tt. The queue contribution is

ci,tqueue=βq^iS(t)−αq^iM(t),(22)c_{i,t}^{\mathrm{queue}} = \beta\widehat{q}_i^S(t) - \alpha\widehat{q}_i^M(t), \tag*{(22)}

where α\alpha and β\beta weight main-road and side-street pressure. The predicted queues are updated using expected arrivals,

q^iM(t+1)=q^iM(t)+pMexpbMexpηi,(23)\widehat{q}_i^M(t+1) = \widehat{q}_i^M(t) + p_M^{\mathrm{exp}} b_M^{\mathrm{exp}} \eta_i, \tag*{(23)}
q^iS(t+1)=q^iS(t)+pSexpbSexp,(24)\widehat{q}_i^S(t+1) = \widehat{q}_i^S(t) + p_S^{\mathrm{exp}} b_S^{\mathrm{exp}}, \tag*{(24)}

where pMexpp_M^{\mathrm{exp}} and pSexpp_S^{\mathrm{exp}} are expected arrival probabilities, bMexpb_M^{\mathrm{exp}} and bSexpb_S^{\mathrm{exp}} are expected arrival batch sizes, and

ηi={1,i=0,0.5,i>0(25)\eta_i = \begin{cases} 1, & i=0, \\ 0.5, & i>0 \end{cases} \tag*{(25)}

scales expected downstream main-road arrivals.

Signal-Age Term The phase-age adjustment is

ai=λagemax⁡{0,Ai(k)−Gmin⁡+1},(26)a_i = \lambda_{\mathrm{age}}\max\{0, A_i(k)-G_{\min}+1\}, \tag*{(26)}

where λage\lambda_{\mathrm{age}} controls the strength of the phase-age penalty. Its QUBO contribution is

ci,tage={+ai,current main-road green,−ai,current side-street green.(27)c^{\mathrm{age}}_{i,t} = \begin{cases} +a_i, & \text{current main-road green},\\ -a_i, & \text{current side-street green}. \end{cases} \tag*{(27)}

Emergency-Priority Term Let cem(k)c_{\mathrm{em}}(k) be the emergency-vehicle cell and cistopc_i^{\mathrm{stop}} the stop-line cell of intersection ii. The distance is

diem(k)=cistop−cem(k).(28)d_i^{\mathrm{em}}(k) = c_i^{\mathrm{stop}} - c_{\mathrm{em}}(k). \tag*{(28)}

The target horizon position is

τi(k)=max⁡{0,diem(k)},(29)\tau_i(k) = \max\{0,d_i^{\mathrm{em}}(k)\}, \tag*{(29)}

where τi(k)\tau_i(k) approximates when the vehicle reaches intersection ii. The emergency reward is

ri,tem={λem1+∣t−τi(k)∣,∣t−τi(k)∣≤mem,0,otherwise.(30)r^{\mathrm{em}}_{i,t} = \begin{cases} \dfrac{\lambda_{\mathrm{em}}}{1+\lvert t-\tau_i(k)\rvert}, & \lvert t-\tau_i(k)\rvert\le m_{\mathrm{em}},\\ 0, & \text{otherwise}. \end{cases} \tag*{(30)}

where λem\lambda_{\mathrm{em}} is the emergency-priority weight and memm_{\mathrm{em}} is the emergency look-ahead margin.

Switching Penalty Changes between consecutive horizon decisions are penalized by

Esw(x)=λsw∑i=0N−1∑t=1T−1(xi,t−xi,t−1)2,(31)E_{\mathrm{sw}}(\mathbf{x}) = \lambda_{\mathrm{sw}}\sum_{i=0}^{N-1}\sum_{t=1}^{T-1}(x_{i,t}-x_{i,t-1})^2, \tag*{(31)}

where λsw\lambda_{\mathrm{sw}} is the switching-penalty weight.

Coordination Reward Neighboring main-road greens are rewarded using

wi=λcoord(1+min⁡{q^iM(T),sM}),(32)w_i = \lambda_{\mathrm{coord}}\left(1+\min\{\hat{q}^{M}_i(T),s_M\}\right), \tag*{(32)}

where λcoord\lambda_{\mathrm{coord}} is the coordination weight and sMs_M is the main-road service capacity. The coordination contribution is

Ecoord(x)=−∑i=0N−2wi∑t=0T−1xi,txi+1,t.(33)E_{\mathrm{coord}}(\mathbf{x}) = -\sum_{i=0}^{N-2}w_i\sum_{t=0}^{T-1}x_{i,t}x_{i+1,t}. \tag*{(33)}

Supervisor-Aware First Action If the signal cannot switch immediately, the first QUBO action is strongly biased toward the current phase using

M=1000,(34)M = 1000, \tag*{(34)}

where MM is the large penalty magnitude. The corresponding first-step coefficient is

ci,0sup={−M,current main-road green,+M,current side-street green.(35)c^{\mathrm{sup}}_{i,0} = \begin{cases} -M, & \text{current main-road green},\\ +M, & \text{current side-street green}. \end{cases} \tag*{(35)}

Receding-Horizon Application Only the first optimized action is applied:

di(k)=xi,0⋆,(36)d_i(k) = x^{\star}_{i,0}, \tag*{(36)}

where xi,0⋆x^{\star}_{i,0} is the optimized first-horizon decision. The remaining horizon decisions are discarded and the QUBO is rebuilt at the next simulation step.

Difference Between Exact QUBO, QAOA, and CVaR-QAOA

Exact QUBO, QAOA, and CVaR-QAOA optimize the same finite-horizon QUBO objective but differ in how they search the binary solution space. Exact QUBO exhaustively evaluates all candidate bitstrings and therefore returns a globally optimal solution of the formulated QUBO. Standard QAOA instead optimizes a parameterized quantum state by minimizing the expected QUBO energy over the complete output probability distribution. CVaR-QAOA uses the same quantum circuit and solution-selection procedure as standard QAOA, but its variational objective is computed only from the lowest-energy fraction of the probability distribution. In the experiments, this fraction is αCVaR=0.20\alpha_{\mathrm{CVaR}} = 0.20. Thus, Exact QUBO provides the reference optimum, while QAOA and CVaR-QAOA provide approximate solutions to the same optimization problem using different variational objectives.

Exact QUBO Solver

The exact reference controller solves each finite-horizon QUBO by exhaustive enumeration of all binary assignments. For a problem with n=NTn = NT binary variables, every bitstring x∈{0,1}n\mathbf{x} \in\{0,1\}^{n} is evaluated using the original QUBO energy, and the minimum-energy solution is selected:

x⋆=arg min⁡x∈{0,1}NT E(x).(37)\mathbf{x}^{\star} = \underset{\mathbf{x}\in\{0,1\}^{NT}}{\operatorname{arg\,min}}\, E(\mathbf{x}). \tag*{(37)}

In the implementation, binary schedules are enumerated as integer bit masks from 0 to 2NT−12^{NT} - 1. For each mask, the energy is computed directly from the linear and quadratic QUBO coefficients. The minimum-energy mask is identified by exhaustive comparison and converted back to the binary decision vector x⋆\mathbf{x}^{\star}.

Solutions whose energies agree with the minimum within a tolerance of 10−910^{-9} are treated as degenerate optima.

For the experimental values N=3N = 3 and T=3T = 3,

2NT=29=512(38)2^{NT} = 2^9 = 512 \tag*{(38)}

candidate schedules are evaluated at every control step. Because the controller operates in a receding-horizon manner, only the first decision for each intersection,

di(k)=xi,0∗,(39)d_i(k) = x^*_{i,0}, \tag*{(39)}

is applied before the QUBO is rebuilt from the updated traffic state at the next simulation step.

QAOA Controller

The QAOA controller uses statevector simulation, circuit depth p=2p = 2, Constrained Optimization BY Linear Approximations (COBYLA) optimization, five random restarts, and a warm start from the previous simulation step.

After optimization, the K=64K = 64 most probable bitstrings are retained and evaluated using the original QUBO energy. The selected state is

xQ=arg⁡min⁡x∈TKE(x),(40)\mathbf{x}^{Q} = \underset{\mathbf{x} \in\mathcal{T}_{K}}{\arg\min} E(\mathbf{x}), \tag*{(40)}

where TK\mathcal{T}_{K} is the set of the KK most probable states. The optimality gap is

ΔE=E(xQ)−E(x⋆),(41)\Delta E = E(\mathbf{x}^{Q}) - E(\mathbf{x}^{\star}), \tag*{(41)}

where xQ\mathbf{x}^{Q} is the QAOA-selected state and x⋆\mathbf{x}^{\star} is the exact QUBO optimum.

CVaR-QAOA Controller

CVaR-QAOA uses the same QUBO, circuit, optimizer, restarts, warm start, and top-KK postselection as standard QAOA. Only the variational objective differs. The default CVaR fraction is

αCVaR=0.20,(42)\alpha_{\mathrm{CVaR}} = 0.20, \tag*{(42)}

so optimization focuses on the lowest-energy 20% of the output probability mass.

Quantum Machine-Learning Policy

Input Features For each intersection ii, the QML policy uses five features:

fi,1=tanh⁡(qiM(k)−qiS(k)sq),(43)f_{i,1} = \tanh\left(\frac{q_i^{M}(k) - q_i^{S}(k)}{s_q}\right), \tag*{(43)}
fi,2=tanh⁡(qiM(k)+qiS(k)sq),(44)f_{i,2}=\tanh\left(\frac{q_i^M(k)+q_i^S(k)}{s_q}\right), \tag*{(44)}

where sqs_q is the queue-normalization scale.

The current phase is encoded as

fi,3={+1,main-road green,−1,side-street green,(45)f_{i,3}= \begin{cases} +1, & \text{main-road green},\\ -1, & \text{side-street green}, \end{cases} \tag*{(45)}

and the phase-age feature is

fi,4=tanh⁡(Ai(k)max⁡{1,Gmin⁡}).(46)f_{i,4}=\tanh\left(\frac{A_i(k)}{\max\{1,G_{\min}\}}\right). \tag*{(46)}

Emergency proximity is represented by

fi,5=exp⁡(−∣cistop−cem(k)∣δem),(47)f_{i,5}=\exp\left(-\frac{\left|c_i^{\mathrm{stop}}-c_{\mathrm{em}}(k)\right|}{\delta_{\mathrm{em}}}\right), \tag*{(47)}

where δem\delta_{\mathrm{em}} controls the spatial decay of the emergency feature.

Policy Output The probability of requesting main-road green at intersection ii is

piM=∑z:zi=1∣⟨z∣ψ(f,θ)⟩∣2,(48)p_i^M=\sum_{z:z_i=1}\left|\langle z|\psi(\mathbf{f},\boldsymbol{\theta})\rangle\right|^2, \tag*{(48)}

where f\mathbf{f} is the feature vector, θ\boldsymbol{\theta} contains trainable circuit parameters, and piMp_i^M is the marginal probability of qubit ii being in state ∣1⟩|1\rangle.

The requested phase is

di(k)={1,piM≥0.5,0,piM<0.5.(49)d_i(k)= \begin{cases} 1, & p_i^M\ge0.5,\\ 0, & p_i^M<0.5. \end{cases} \tag*{(49)}

Training Objective Exact QUBO decisions provide the labels

yi=xi,0∗,(50)y_i=x_{i,0}^{*}, \tag*{(50)}

where yiy_i is the target action for intersection ii.

For MtrM_{\mathrm{tr}} training samples, the loss is

L(θ)=1Mtr∑m=1Mtr[1N∑i=0N−1(pi(m)−yi(m))2]+λreg1nθ∑j=1nθθj2,(51)\mathcal{L}(\boldsymbol{\theta})= \frac{1}{M_{\mathrm{tr}}}\sum_{m=1}^{M_{\mathrm{tr}}} \left[ \frac{1}{N}\sum_{i=0}^{N-1}\left(p_i^{(m)}-y_i^{(m)}\right)^2 \right] +\lambda_{\mathrm{reg}}\frac{1}{n_{\theta}}\sum_{j=1}^{n_{\theta}}\theta_j^2, \tag*{(51)}

where MtrM_{\mathrm{tr}} is the number of training samples, pi(m)p_i^{(m)} is the predicted main-road probability for sample mm, yi(m)y_i^{(m)} is the target label, nθn_{\theta} is the number of trainable parameters, and λreg\lambda_{\mathrm{reg}} is the regularization coefficient.

The experiments use 32 synthetic training samples, two trainable layers, 50 COBYLA iterations, and λreg=10−3\lambda_{\mathrm{reg}}=10^{-3}.

Experimental Design

The experimental evaluation is designed to compare the considered controllers under a common traffic environment, parameterization, and set of stochastic traffic realizations. The experiments are organized around the three research questions, covering controller performance across traffic-demand regimes, the effect of emergency-priority weighting, and the approximation quality of the quantum optimization methods.

General Configuration

All experiments use a corridor with

N=3,T=3,NT=9,(52)N = 3,\qquad T = 3,\qquad NT = 9, \tag*{(52)}

where NN is the number of signalized intersections, TT is the finite optimization horizon, and NTNT is the number of binary QUBO variables.

The RQ1 experiment uses 30 traffic-seed identifiers and 36 simulation steps. A longer-horizon robustness experiment is additionally performed for RQ1 using 72 simulation steps and 10 traffic seeds. RQ2 uses 30 seeds under balanced traffic demand and compares Exact QUBO, QAOA, and CVaR-QAOA while varying the emergency-priority weight. RQ3 uses the step-level diagnostics recorded during the QAOA and CVaR-QAOA runs of RQ1 and compares both quantum methods with the exact QUBO solution at every optimization step.

Traffic-Demand Regimes

RQ1 evaluates three traffic-demand regimes. Let PMP_M denote the main-road arrival probability and PSP_S the side-street arrival probability.

Balanced:PM=0.45,PS=0.45,(53)\text{Balanced:}\qquad P_M = 0.45,\qquad P_S = 0.45, \tag*{(53)}
Main-road dominant:PM=0.60,PS=0.30,(54)\text{Main-road dominant:}\qquad P_M = 0.60,\qquad P_S = 0.30, \tag*{(54)}
Side-street dominant:PM=0.30,PS=0.60.(55)\text{Side-street dominant:}\qquad P_M = 0.30,\qquad P_S = 0.60. \tag*{(55)}

The same side-street arrival probability is used at all three intersections within a given demand regime. Arrival batches contain two vehicles for both the main road and side streets.

Default QUBO Parameters

Unless varied explicitly in RQ2, the QUBO parameters are

α=1.0,β=0.75,λsw=0.08,(56)\alpha= 1.0,\qquad\beta= 0.75,\qquad\lambda_{\mathrm{sw}} = 0.08, \tag*{(56)}

and

λcoord=1.8,λage=0.20,λem=35.(57)\lambda_{\mathrm{coord}} = 1.8,\qquad\lambda_{\mathrm{age}} = 0.20,\qquad\lambda_{\mathrm{em}} = 35. \tag*{(57)}

Here, α\alpha and β\beta weight the main-road and side-street queue terms, respectively; λsw\lambda_{\mathrm{sw}} controls the switching penalty; λcoord\lambda_{\mathrm{coord}} controls neighboring-intersection coordination; λage\lambda_{\mathrm{age}} weights the signal-age term; and λem\lambda_{\mathrm{em}} controls emergency-vehicle priority.

The safety supervisor uses

Gmin⁡=4,R=1,(58)G_{\min}=4,\qquad R=1, \tag*{(58)}

where Gmin⁡G_{\min} is the minimum-green duration and RR is the all-red transition duration.

Quantum-Optimization Parameters

The QAOA and CVaR-QAOA experiments use

p=2,Ropt=5,K=64,αCVaR=0.20,(59)p=2,\qquad R_{\mathrm{opt}}=5,\qquad K=64,\qquad\alpha_{\mathrm{CVaR}}=0.20, \tag*{(59)}

where pp is the QAOA circuit depth, RoptR_{\mathrm{opt}} is the number of random optimization restarts, KK is the number of highest-probability bitstrings retained for postselection, and αCVaR\alpha_{\mathrm{CVaR}} is the probability fraction used by the CVaR objective.

The classical parameter optimizer is COBYLA with a maximum of 60 iterations. From the second traffic-control step onward, the optimized parameters from the preceding step are also included as a warm-start candidate.

RQ1: Controller Comparison

RQ1 compares six controllers: fixed-time control, max-pressure control, Exact QUBO optimization, QAOA, CVaR-QAOA, and the QML policy. All six controllers are evaluated under balanced, main-road-dominant, and side-street-dominant traffic demand using the same set of 30 traffic-seed identifiers.

The recorded outcomes are emergency completion, emergency waiting time, emergency travel time, cumulative delay proxy, mean main-road queue length, mean side-street queue length, the number of completed signal switches, and the number of all-red intersection steps. The 72-step robustness experiment repeats the same controller comparison using 10 traffic seeds.

RQ2: Emergency-Priority Weight

RQ2 evaluates the effect of the emergency-priority coefficient under balanced demand. The tested values are

λem∈{0,5,10,20,35,50,75}.(60)\lambda_{\mathrm{em}} \in\{0,5,10,20,35,50,75\}. \tag*{(60)}

For each value, Exact QUBO, QAOA, and CVaR-QAOA are evaluated using the same 30 traffic-seed identifiers. The recorded outcomes are emergency waiting time, emergency travel time, cumulative delay proxy, and mean side-street queue length.

RQ3: Quantum Approximation Quality

RQ3 compares QAOA and CVaR-QAOA with the exact QUBO solution using the step-level diagnostics recorded during the RQ1 simulations. For optimization step kk, the QUBO optimality gap is

ΔE(k)=Ek(xQ(k))−Ek(x⋆(k)),(61)\Delta E(k) = E_k\left(x^Q(k)\right) - E_k\left(x^{\star}(k)\right), \tag*{(61)}

where xQ(k)x^Q(k) is the bitstring selected by QAOA or CVaR-QAOA and x⋆(k)x^{\star}(k) is an exact QUBO optimum.

An exact-solution hit is recorded when

∣ΔE(k)∣≤10−9.(62)\lvert\Delta E(k)\rvert\le10^{-9}. \tag*{(62)}

The first-action agreement is

Afirst(k)=1N∑i=0N−1I[xi,0Q(k)=xi,0⋆(k)],(63)A_{\mathrm{first}}(k) = \frac{1}{N}\sum_{i=0}^{N-1}\mathbb{I}\left[x^Q_{i,0}(k)=x^{\star}_{i,0}(k)\right], \tag*{(63)}

where I[⋅]\mathbb{I}[\cdot] is the indicator function.

The RQ3 analysis evaluates the mean QUBO optimality gap, exact-solution hit rate, mean probability assigned to globally optimal states, mean probability of the selected state, first-action agreement, emergency travel time, and cumulative delay proxy.

Statistical Analysis

For each reported continuous metric, results are summarized using the sample mean across available runs. Error bars represent two-sided 95% confidence intervals for the mean, calculated as

xˉ±t0.975,n−1sn,(64)\bar{x} \pm t_{0.975,n-1}\frac{s}{\sqrt{n}}, \tag*{(64)}

where xˉ\bar{x} is the sample mean, ss is the sample standard deviation computed with n−1n-1 degrees of freedom, nn is the number of available observations, and t0.975,n−1t_{0.975,n-1} is the corresponding Student’s tt critical value. Missing values are excluded from the calculation; consequently, confidence intervals for emergency travel time are based only on runs in which the emergency vehicle completed the corridor.

Results

The results are organized according to the three research questions. We first compare the overall traffic-control performance of all evaluated controllers, then examine the effect of the emergency-priority coefficient, and finally analyze how closely the quantum optimization methods reproduce the exact QUBO solution.

RQ1: Comparison of Control Methods

RQ1 compares the six control strategies across the three traffic-demand regimes with respect to both emergency-vehicle progression and ordinary-traffic performance. The analysis first considers emergency completion and travel time, then examines cumulative delay and queue behavior, before discussing the resulting emergency–congestion trade-off, the performance of the QML policy, and the longer-horizon robustness experiment.

Emergency-Vehicle Performance The optimization-based controllers provided the most reliable emergency progression across the three demand regimes. Exact QUBO, QAOA, and CVaR-QAOA achieved a 100% emergency-completion rate in all tested conditions, as shown in Figure 2. Fixed-time control also completed all emergency trips, whereas max-pressure failed to complete the trip within the 36-step horizon in several runs, particularly under side-street-dominant demand. The QML policy was substantially less reliable, with completion rates of 63.3%, 13.3%, and 40.0% under balanced, main-road-dominant, and side-street-dominant demand, respectively.

Figure 2. Emergency-vehicle completion rate for each controller under the three traffic-demand regimes.

Emergency travel times for successful runs are reported in Figure 1 and Table 1. Under balanced demand, the mean travel time decreased from 22.63 steps for fixed-time control and 26.30 steps for max-pressure to 17.93, 17.97, and 17.27 steps for Exact QUBO, QAOA, and CVaR-QAOA, respectively. A similar pattern was observed under main-road-dominant demand, where Exact QUBO achieved the lowest mean travel time of 16.27 steps, compared with 17.13 steps for both QAOA and CVaR-QAOA.

Figure 1. Emergency-vehicle travel time for each controller under the three traffic-demand regimes. Error bars show 95% confidence intervals.

DemandControllerCompletion [%]Em. travelCum. delaySide queue
BalancedFixed-time100.022.63843.306.99
Max-pressure90.026.30599.554.51
Exact QUBO100.017.93832.956.56
QAOA100.017.97732.835.66
CVaR-QAOA100.017.27728.435.54
QML63.323.841019.048.00
Main-road dominantFixed-time100.022.80555.134.04
Max-pressure96.726.17473.153.08
Exact QUBO100.016.27609.804.68
QAOA100.017.13550.054.25
CVaR-QAOA100.017.13546.374.31
QML13.323.00951.924.49
Side-street dominantFixed-time100.022.501282.9711.36
Max-pressure63.323.05723.585.88
Exact QUBO100.017.801078.549.20
QAOA100.020.20903.317.45
CVaR-QAOA100.019.87940.177.89
QML40.020.33860.556.07

Table 1. Table 1. RQ1 performance summary across the three traffic-demand regimes. Emergency travel time is reported only for runs in which the emergency vehicle completed the corridor.

Under side-street-dominant demand, Exact QUBO retained a mean emergency travel time of 17.80 steps, while QAOA and CVaR-QAOA required 20.20 and 19.87 steps, respectively. Both nevertheless maintained 100% completion, unlike max-pressure, which completed only 63.3% of the runs within the simulation horizon.

These results indicate that explicitly incorporating emergency priority into the finite-horizon optimization improves emergency progression and provides consistent completion across the tested demand regimes.

Ordinary-Traffic Performance Ordinary-traffic performance showed a different ranking from emergency-vehicle performance. As shown in Figure 3 and Table 1, max-pressure produced the lowest cumulative delay in all three demand regimes, with mean values of 599.55 under balanced demand, 473.15 under main-road-dominant demand, and 723.58 under side-street-dominant demand.

Figure 3. Cumulative traffic-delay proxy for each controller under the three traffic-demand regimes. Error bars show 95% confidence intervals.

The optimization-based controllers generally reduced cumulative delay relative to fixed-time control, although they did not outperform max-pressure. Under balanced demand, cumulative delay decreased from 843.30 for fixed-time control to 832.95 for Exact QUBO, 732.83 for QAOA, and 728.43 for CVaR-QAOA. The largest improvement relative to fixed-time control occurred under side-street-dominant demand, where QAOA and CVaR-QAOA reduced the mean cumulative delay from 1282.97 to 903.31 and 940.17, respectively.

A similar pattern was observed for side-street queues. Max-pressure achieved the lowest mean side-street queue length under all three demand regimes, while QAOA and CVaR-QAOA generally remained below fixed-time control. These results indicate that the emergency-priority optimization improves ordinary-traffic performance relative to fixed-time control in several conditions, but the queue-responsive max-pressure controller remains the strongest method for minimizing ordinary congestion.

Emergency–Congestion Trade-off The results reveal a clear trade-off between emergency progression and ordinary-traffic efficiency. Max-pressure consistently achieved the lowest cumulative delay and shortest side-street queues, but its emergency-vehicle performance was weaker, particularly under balanced and side-street-dominant demand. In contrast, Exact QUBO, QAOA, and CVaR-QAOA maintained 100% emergency completion across all demand regimes and generally reduced emergency travel time, at the cost of higher ordinary-traffic delay than max-pressure.

Among the optimization-based controllers, QAOA and CVaR-QAOA provided the most balanced compromise. Under balanced demand, for example, CVaR-QAOA reduced mean emergency travel time to 17.27 steps while keeping cumulative delay at 728.43, compared with 26.30 steps and 599.55 for max-pressure. Under side-street-dominant demand, QAOA and CVaR-QAOA preserved 100% emergency completion while keeping cumulative delay substantially below fixed-time control. These results indicate that the optimization-based methods trade some ordinary-traffic efficiency for substantially more reliable emergency progression.

QML Performance The QML policy was substantially less reliable than the optimization-based controllers. Its emergency-completion rate was 63.3% under balanced demand, 13.3% under main-road-dominant demand, and 40.0% under side-street-dominant demand. The reported emergency travel times therefore reflect only the subset of runs in which the emergency vehicle successfully completed the corridor.

This conditional reporting introduces a survivorship effect. For example, the apparently competitive travel time under side-street-dominant demand is computed only from the 12 successful runs out of 30 and should not be interpreted as evidence of overall competitive emergency performance. The substantially lower completion rates indicate that the learned policy did not reliably reproduce the sequential behavior required for emergency progression.

The limited reliability is consistent with the moderate imitation performance obtained during training. Because the policy is trained offline to reproduce only the first action of the Exact QUBO controller, classification errors can accumulate over successive control steps and alter the subsequent traffic state. The present QML configuration should therefore be regarded as a preliminary imitation-based controller rather than a competitive alternative to the optimization-based methods.

Longer-Horizon Robustness The 72-step robustness experiment largely confirmed the controller ranking observed in the principal 36-step evaluation. Exact QUBO, QAOA, CVaR-QAOA, fixed-time, and max-pressure completed the emergency trip in all 10 runs under each demand regime. In contrast, the QML policy remained less reliable, completing all 10 runs under balanced demand but only 6 of 10 under main-road-dominant demand and 8 of 10 under side-street-dominant demand.

Emergency travel times remained close to those observed in the shorter experiment. Under balanced demand, the mean travel times were 22.6 steps for fixed-time, 26.5 for max-pressure, 18.1 for Exact QUBO, 18.1 for QAOA, and 17.4 for CVaR-QAOA. Under main-road-dominant demand, the corresponding values were 22.8, 26.0, 16.2, 17.4, and 17.4 steps, while under side-street-dominant demand they were 22.4, 25.0, 18.1, 20.1, and 20.0 steps.

The ordinary-traffic trade-off also persisted over the longer horizon. Max-pressure again produced the lowest cumulative delay in all three demand regimes, whereas QAOA and CVaR-QAOA remained substantially below fixed-time control under balanced and side-street-dominant demand. These results indicate that the main conclusions of RQ1 are not specific to the 36-step simulation horizon.

RQ2: Emergency-Priority Trade-off

Priority-Weight Sweep The emergency-priority sweep evaluates λem∈{0,5,10,20,35,50,75}\lambda_{\mathrm{em}} \in\{0, 5, 10, 20, 35, 50, 75\} for Exact QUBO, QAOA, and CVaR-QAOA under balanced demand. Each configuration was evaluated over the same set of 30 traffic seeds, allowing the effect of increasing emergency priority to be compared across the three optimization-based controllers. Tab. 2 summarizes the resulting emergency travel time, emergency waiting time, cumulative delay, and mean side-street queue size.

Emergency Travel Time Emergency travel time decreased markedly as the emergency-priority weight increased from zero. As shown in Figure 4 and Table 2, Exact QUBO decreased from 27.23 steps at λem=0\lambda_{\mathrm{em}} = 0 to 21.27 at λem=5\lambda_{\mathrm{em}} = 5 and 18.83 at λem=10\lambda_{\mathrm{em}} = 10, reaching 17.93 steps at λem=20\lambda_{\mathrm{em}} = 20. QAOA showed a similar reduction from 26.67 steps at λem=0\lambda_{\mathrm{em}} = 0 to 18.57 at λem=20\lambda_{\mathrm{em}} = 20, while CVaR-QAOA decreased from 28.53 to 17.27 steps over the same range.

Figure 4. Emergency-vehicle travel time as a function of the emergency-priority weight λem\lambda_{\mathrm{em}} under balanced demand. Error bars show 95% confidence intervals.

λem\lambda_{\mathrm{em}}ControllerEm. travelEm. waitCum. delaySide queue
0Exact QUBO27.233.70672.085.34
QAOA26.670.00597.714.57
CVaR-QAOA28.532.80587.284.56
5Exact QUBO21.270.77723.105.69
QAOA20.630.00645.224.90
CVaR-QAOA20.300.00656.855.00
10Exact QUBO18.830.07793.586.25
QAOA20.300.00664.945.13
CVaR-QAOA20.300.00681.145.25
20Exact QUBO17.930.07832.956.56
QAOA18.570.00710.815.33
CVaR-QAOA17.270.00728.435.54
35Exact QUBO17.930.07832.956.56
QAOA17.970.00732.835.66
CVaR-QAOA17.270.00728.435.54
50Exact QUBO17.930.07832.956.56
QAOA17.870.00714.835.49
CVaR-QAOA17.270.00728.435.54
75Exact QUBO17.930.07832.956.56
QAOA18.100.00748.635.67
CVaR-QAOA17.870.00725.665.53

Table 2. RQ2 emergency-priority sweep under balanced demand. Values are means over 30 matched traffic seeds.

Beyond λem=20\lambda_{\mathrm{em}} = 20, additional improvements were small. Exact QUBO remained at 17.93 steps for all larger tested weights, while CVaR-QAOA remained at 17.27 steps through λem=50\lambda_{\mathrm{em}} = 50 and increased slightly to 17.87 at λem=75\lambda_{\mathrm{em}} = 75. QAOA varied only modestly between 17.87 and 18.10 steps over the larger weights. The results therefore indicate that most of the emergency-travel-time benefit is achieved by approximately λem=20\lambda_{\mathrm{em}} = 20, after which the response largely saturates.

Emergency Waiting Time Emergency waiting time showed a stronger floor effect than travel time. As reported in Table 2, QAOA achieved a mean waiting time of 0.00 steps for every tested value of λem\lambda_{\mathrm{em}}. For CVaR-QAOA, the mean waiting time decreased from 2.80 steps at λem=0\lambda_{\mathrm{em}} = 0 to 0.00 steps at all nonzero tested weights. Exact QUBO decreased from 3.70 steps at λem=0\lambda_{\mathrm{em}} = 0 to 0.77 at λem=5\lambda_{\mathrm{em}} = 5 and 0.07 at λem≥10\lambda_{\mathrm{em}} \ge10.

Because of the many identical zero or near-zero waiting times, this metric contains numerous ties and provides less discrimination among the controllers than emergency travel time. The priority-weight effect is therefore more clearly reflected by travel time and ordinary-traffic cost than by waiting time alone.

Ordinary-Traffic Cost The reduction in emergency travel time was accompanied by higher ordinary-traffic cost. As shown in Figure 5 and Table 2, the mean cumulative delay for Exact QUBO increased from 672.08 at λem=0\lambda_{\mathrm{em}} = 0 to 793.58 at λem=10\lambda_{\mathrm{em}} = 10 and 832.95 at λem=20\lambda_{\mathrm{em}} = 20, after which it remained unchanged for the larger tested weights. A similar, although less pronounced, increase was observed for the quantum controllers. For QAOA, cumulative delay increased from 597.71 at λem=0\lambda_{\mathrm{em}} = 0 to 710.81 at λem=20\lambda_{\mathrm{em}} = 20, while CVaR-QAOA increased from 587.28 to 728.43 over the same interval.

Figure 5. Cumulative traffic-delay proxy as a function of the emergency-priority weight λem\lambda_{\mathrm{em}} under balanced demand. Error bars show 95% confidence intervals.

The side-street queues exhibited the same overall trade-off, as shown in Figure 6. For Exact QUBO, the mean side-street queue increased from 5.34 at λem=0\lambda_{\mathrm{em}} = 0 to 6.56 at λem=20\lambda_{\mathrm{em}} = 20. For QAOA, it increased from 4.57 to 5.33, while for CVaR-QAOA it increased from 4.56 to 5.54. At larger priority weights, the quantum-controller values fluctuated within a relatively narrow range rather than increasing monotonically. These results show that stronger emergency priority shifts signal capacity toward the main corridor, reducing emergency travel time at the expense of increased ordinary-traffic congestion.

Figure 6. Mean side-street queue length as a function of the emergency-priority weight λem\lambda_{\mathrm{em}} under balanced demand.

Priority Saturation The results indicate a saturation region beginning at approximately λem=20\lambda_{\mathrm{em}} = 20. By this point, Exact QUBO, QAOA, and CVaR-QAOA had already achieved most of their reduction in emergency travel time, while further increases in the priority weight produced only small changes. Exact QUBO, for example, remained at 17.93 steps for all tested values from λem=20\lambda_{\mathrm{em}} = 20 to 75, while CVaR-QAOA remained at 17.27 steps between λem=20\lambda_{\mathrm{em}} = 20 and 50.

At the same time, the corresponding cumulative-delay and side-street-queue values remained above those obtained at low priority weights. The range

20≲λem≲35(65)20 \lesssim\lambda_{\mathrm{em}} \lesssim35 \tag*{(65)}

therefore captures the region in which most of the emergency-progression benefit has already been obtained without requiring still larger emergency-priority coefficients. The default value λem=35\lambda_{\mathrm{em}} = 35 used in the other experiments lies within this saturation region.

RQ3: Quantum Approximation Quality

RQ3 evaluates how closely QAOA and CVaR-QAOA reproduce the exact finite-horizon QUBO solution and whether differences in QUBO quality translate into differences in closed-loop traffic performance. The analysis considers the optimality gap, exact-solution hit rate, probability assigned to globally optimal states, and agreement on the first action that is actually applied by the receding-horizon controller.

Optimality Gap The mean QUBO optimality gap differed substantially between the two quantum optimizers. As shown in Figure 7 and Table 3, standard QAOA produced mean gaps of 2.401 under balanced demand, 1.619 under main-road-dominant demand, and 4.008 under side-street-dominant demand. In contrast, CVaR-QAOA reduced the corresponding mean gaps to 0.006, 0.085, and 0.026.

Figure 7. Mean QUBO optimality gap of QAOA and CVaR-QAOA relative to the exact QUBO solution across the three traffic-demand regimes. Error bars show 95% confidence intervals.

DemandControllerMean gapExact hit [%]PoptP_{\mathrm{opt}} [%]First action [%]
BalancedQAOA2.40181.575.2598.15
CVaR-QAOA0.00699.3511.90100.00
Main-road dominantQAOA1.61986.203.9898.52
CVaR-QAOA0.08596.5711.16100.00
Side-street dominantQAOA4.00877.414.9497.62
CVaR-QAOA0.02697.4114.7599.78

Table 3. RQ3 QUBO-solution quality of QAOA and CVaR-QAOA. Hit rate, optimal-state probability, and first-action agreement are reported in percent.

The largest difference occurred under side-street-dominant demand, where the mean gap decreased from 4.008 for QAOA to 0.026 for CVaR-QAOA. Across all three demand regimes, CVaR-QAOA therefore produced solutions much closer in energy to the exact QUBO optimum than standard QAOA.

Exact-Solution Hit Rate The exact-solution hit rate shows how often the quantum optimizer selected a bitstring with the same QUBO energy as the global optimum. As shown in Figure 8 and Table 3, QAOA achieved hit rates of 81.57% under balanced demand, 86.20% under main-road-dominant demand, and 77.41% under side-street-dominant demand. The corresponding values for CVaR-QAOA were substantially higher at 99.35%, 96.57%, and 97.41%, respectively.

Figure 8. Exact-QUBO solution hit rate of QAOA and CVaR-QAOA across the three traffic-demand regimes.

The difference was especially pronounced under balanced and side-street-dominant demand, where CVaR-QAOA matched the exact QUBO optimum in nearly all optimization steps. These results are consistent with the optimality-gap analysis and show that CVaR-QAOA reproduced the exact finite-horizon QUBO solution more reliably than standard QAOA.

Optimal-State Probability The probability assigned to globally optimal states was also consistently higher for CVaR-QAOA. As reported in Tab. 3, the mean optimal-state probability under balanced demand increased from 5.25% for QAOA to 11.90% for CVaR-QAOA. Under main-road-dominant demand, the corresponding values were 3.98% and 11.16%, while under side-street-dominant demand they were 4.94% and 14.75%.

Thus, although the probability mass assigned to globally optimal solutions remained relatively small in absolute terms, CVaR-QAOA concentrated substantially more probability on optimal states than standard QAOA across all three demand regimes. This is consistent with both its smaller optimality gaps and its higher exact-solution hit rates.

First-Action Agreement Because the controller operates in a receding-horizon manner, agreement on the first action is particularly important: only the first decision of each optimized horizon is actually applied before the QUBO is rebuilt. Despite the larger differences observed in full-schedule QUBO quality, both quantum controllers showed high first-action agreement with the exact solution.

As reported in Table 3, QAOA achieved mean first-action agreement rates of 98.15% under balanced demand, 98.52% under main-road-dominant demand, and 97.62% under side-street-dominant demand. The corresponding values for CVaR-QAOA were 100.00%, 100.00%, and 99.78%, respectively. These results indicate that even when the complete bitstring selected by QAOA was suboptimal, its immediately executed action frequently matched that of the exact QUBO solution.

QUBO Quality vs. Traffic Performance The substantial improvement in QUBO-solution quality obtained with CVaR-QAOA did not translate into proportionally large changes in closed-loop traffic performance. For example, under balanced demand the mean optimality gap decreased from 2.401 for QAOA to 0.006 for CVaR-QAOA, while the corresponding emergency travel times changed only from 17.97 to 17.27 steps and cumulative delay from 732.83 to 728.43. Under main-road-dominant demand, both quantum controllers produced the same mean emergency travel time of 17.13 steps despite the exact-solution hit rate increasing from 86.20% for QAOA to 96.57% for CVaR-QAOA.

This difference arises because the QUBO energy is a finite-horizon surrogate rather than the realized cumulative traffic objective. Moreover, only the first optimized action is applied at each simulation step, and the safety supervisor may further constrain the requested phase. Consequently, different full-horizon bitstrings can produce the same executed control action, and a lower QUBO energy does not necessarily imply a proportional reduction in realized traffic delay. The CVaR-QAOA results therefore demonstrate substantially closer reproduction of the exact QUBO solution, while the resulting closed-loop traffic differences relative to standard QAOA are considerably smaller.

Discussion

The results show a consistent trade-off between emergency-vehicle progression and ordinary-traffic efficiency. In RQ1, Exact QUBO, QAOA, and CVaR-QAOA maintained 100% emergency completion across all tested demand regimes and generally reduced emergency travel time relative to fixed-time and max-pressure control. Max-pressure, however, produced the lowest cumulative delay and shortest side-street queues, indicating that explicitly prioritizing emergency progression incurs an ordinary-traffic cost. The longer-horizon experiment preserved the same qualitative pattern, suggesting that these observations are not specific to the 36-step simulation horizon. The QML policy was substantially less reliable, particularly under main-road- and side-street-dominant demand, which indicates that the present offline imitation approach is not yet robust enough for sequential deployment.

Figure 9. Agreement between the first actions selected by QAOA and CVaR-QAOA and the exact QUBO solution across the three traffic-demand regimes.

The RQ2 priority sweep clarifies how this trade-off is controlled by the emergency-priority coefficient. Increasing λem\lambda_{\mathrm{em}} strongly reduced emergency travel time between λem=0\lambda_{\mathrm{em}} = 0 and approximately λem=20\lambda_{\mathrm{em}} = 20, while cumulative delay and side-street queues increased over the same range. Beyond approximately λem=20\lambda_{\mathrm{em}} = 20–35, additional emergency-travel improvements were small, indicating diminishing returns from further increasing the priority weight. The default value λem=35\lambda_{\mathrm{em}} = 35 therefore lies in a region where most of the observed emergency-progress benefit has already been obtained, although the resulting choice remains application dependent because different deployments may assign different costs to emergency delay and ordinary congestion.

The strongest quantum-specific result arises from RQ3. Across all three demand regimes, CVaR-QAOA produced substantially smaller QUBO optimality gaps, higher exact-solution hit rates, and greater probability on globally optimal states than standard QAOA. Nevertheless, these large differences in optimization quality resulted in much smaller differences in realized traffic performance. This is expected because the optimized QUBO objective is only a finite-horizon surrogate for the closed-loop traffic process. Only the first action of each optimized schedule is executed before replanning, and the safety supervisor can further constrain that action. Consequently, different full-horizon solutions can generate the same executed decision, and a lower QUBO energy does not necessarily imply proportionally lower realized traffic delay.

These results should therefore be interpreted as evidence about algorithmic behavior rather than quantum computational advantage. The experiments use a small three-intersection corridor, synthetic traffic demand, statevector simulation, and a nine-qubit QUBO. Execution on physical quantum processors introduces additional considerations, including gate and measurement imperfections and device-dependent behavior, which motivate explicit hardware characterization and benchmarking [27, 6]. Within this scope, however, the results show that CVaR-QAOA is a substantially more accurate solver for the tested QUBO formulation than standard QAOA, while also illustrating that improvements in optimization fidelity must be evaluated jointly with their effect on the closed-loop control objective.

Reproducibility

The complete implementation, experiment scripts, configuration files, raw and processed result data, and analysis outputs used in this study are made publicly available through a Zenodo replication package [22]. The archive includes the datasets underlying RQ1, RQ2, and RQ3, including the longer-horizon robustness runs and the step-level quantum-optimization diagnostics required to reproduce the reported figures and tables.

Conclusion

This work investigated coordinated emergency-priority traffic control using a finite-horizon QUBO formulation together with Exact QUBO, QAOA, CVaRQAOA, and QML controllers. For RQ1, the optimization-based controllers consistently achieved reliable emergency progression across the tested demand regimes, while max-pressure remained more effective at minimizing ordinary-traffic congestion. For RQ2, increasing the emergency-priority weight reduced emergency travel time but increased cumulative delay and side-street queues, with most of the observed benefit reached by approximately λem=20\lambda_{\mathrm{em}} = 20–35. For RQ3, CVaR-QAOA reproduced the exact QUBO solution substantially more accurately than standard QAOA, although these improvements in optimization quality translated into smaller differences in closed-loop traffic performance. The QML policy was less reliable and requires further development. Overall, the results demonstrate the feasibility of the proposed optimization framework while highlighting the importance of evaluating both surrogate QUBO quality and realized traffic performance. Future work should consider larger networks, richer traffic models, and execution on noisy quantum hardware.

References

  1. [1]Albdairi, M., Almusawi, A.: Queue-responsive adaptive signal control vs. webster optimization: A multi-criteria simulation assessment at a signalized intersection. Future Transportation 6(2), 92 (2026)DOI
  2. [2]Almukhalfi, H., Noor, A., Noor, T.H.: Traffic management approaches using machine learning and deep learning techniques: A survey. Engineering Applications of Artificial Intelligence 133, 108147 (2024)DOI
  3. [3]Barkoutsos, P.K., Nannicini, G., Robert, A., Tavernelli, I., Woerner, S.: Improving variational quantum optimization using cvar. Quantum 4, 256 (2020)DOI
  4. [4]Beseda, M., Illésová, S., Yalouz, S., Senjean, B.: State-averaged orbital-optimized vqe: A quantum algorithm for the democratic description of ground and excited electronic states. Journal of Open Source Software 9(101), 6036 (2024)DOI
  5. [5]Bezděk, T., Yuan, H., Novák, V., Illésová, S., Běček, M.: Classical optimization strategies for variational quantum algorithms: A systematic study of noise effects and parameter efficiency. arXiv preprint arXiv:2511.09314 (2025)arxiv.org/abs/2511.09314
  6. [6]Bílek, A., Hlisnikovský, J., Bezděk, T., Kukulski, R., Lewandowska, P.: Experimental study of multiple-shot unitary channels discrimination using the ibm q computers. Scientific Reports (2026)DOI
  7. [7]Cai, C., Hengst, B., Ye, G., Huang, E., Wang, Y., Aydos, C., Geers, G.: On the performance of adaptive traffic signal control. In: Proceedings of the Second International Workshop on Computational Transportation Science. pp. 37–42 (2009)DOI
  8. [8]Choi, J., Kim, J.: A tutorial on quantum approximate optimization algorithm (qaoa): Fundamentals and applications. In: 2019 international conference on information and communication technology convergence (ICTC). pp. 138–142. IEEE (2019)
  9. [9]Ciaramelletti, C., Beseda, M., Consiglio, M., Lepori, L., Apollaro, T.J.G., Paganelli, S.: Detecting quasiegenerate ground states in topological models via the variational quantum eigensolver. Phys. Rev. A 111, 022437 (Feb 2025). https://doi.org/10.1103/PhysRevA.111.022437, https://link.aps.org/doi/10.1103/PhysRevA.111.022437
  10. [10]Devika, S., Govind, A., Lekshmi, D.: Next-generation traffic control: Adaptive timer and emergency vehicle priority in intelligent traffic management. In: 2024 International Conference on E-mobility, Power Control and Smart Systems (ICEMPS). pp. 1–6. IEEE (2024)
  11. [11]Fadlullah, Z.M., Tang, F., Mao, B., Kato, N., Akashi, O., Inoue, T., Mizutani, K.: State-of-the-art deep learning: Evolving machine intelligence toward tomorrow’s intelligent network traffic control systems. IEEE Communications Surveys & Tutorials 19(4), 2432–2455 (2017)DOI
  12. [12]Favilla, J., Machion, A., Gomide, F.: Fuzzy traffic control: adaptive strategies. In: [Proceedings 1993] Second IEEE International Conference on Fuzzy Systems. pp. 506–511. IEEE (1993)
  13. [13]Gartner, N.H., Pooran, F.J., Andrews, C.M.: Optimized policies for adaptive control strategy in real-time traffic adaptive control systems: Implementation and field testing. Transportation Research Record 1811(1), 148–156 (2002)DOI
  14. [14]Grange, C., Poss, M., Bourreau, E.: An introduction to variational quantum algorithms for combinatorial optimization problems. 4or 21(3), 363–403 (2023)DOI
  15. [15]Hamilton, A., Waterson, B., Cherrett, T., Robinson, A., Snell, I.: The evolution of urban traffic control: changing policy and technology. Transportation planning and technology 36(1), 24–43 (2013)DOI
  16. [16]Illěsová, S., Bezděk, T., Novák, V., Senjean, B., Beseda, M.: Statistical benchmarking of optimization methods for variational quantum eigensolver under quantum noise. arXiv preprint arXiv:2510.08727 (2025)arxiv.org/abs/2510.08727
  17. [17]Illěsová, S., Bezděk, T., Novák, V., Zelinka, I., Cacciatore, S., Beseda, M.: From classical to hybrid: A practical framework for quantum-enhanced learning. arXiv preprint arXiv:2511.08205 (2025)arxiv.org/abs/2511.08205
  18. [18]Illěsová, S., Obeng, E., Bezděk, T., Novák, V., Beseda, M.: On the complementarity of classical convolution and quantum neural networks in image classification (2025)DOI
  19. [19]Illěsová, S., Rybotycki, T., Beseda, M.: Qmetric: Benchmarking quantum neural networks across circuits, features, and training dimensions. In: Proceedings of QualITa 2025: The Fourth Conference on System and Service Quality. CEUR Workshop Proceedings, vol. 4080. CEUR-WS.org, Catania, Italy (2025), https://ceur-ws.org/Vol-4080/paper3.pdfarxiv.org/abs/2506.23765
  20. [20]Illěsová, S., Rybotycki, T., Gawron, P., Beseda, M.: On the importance of fundamental properties in quantum-classical machine learning models. International Journal of Parallel, Emergent and Distributed Systems pp. 1–28 (2026)DOI
  21. [21]Illěsová, S., Beseda, M., Yalouz, S., Lasorne, B., Senjean, B.: Transformation-free generation of a quasi-diabatic representation from the state-average orbital-optimized variational quantum eigensolver. Journal of Chemical Theory and Computation 21(11), 5457–5480 (2025). https://doi.org/10.1021/acs.jctc.5c00327, https://doi.org/10.1021/acs.jctc.5c00327, pMID: 40408769
  22. [22]Illěsová, S., Novák, V., Zelinka, I., Beseda, M.: Hybrid quantum-classical optimization for emergency-priority traffic signal control (2026). https://doi.org/10.5281/zenodo.22880012, https://doi.org/10.5281/zenodo.22880012
  23. [23]Jin, J., Ma, X., Kosonen, I.: A stochastic optimization framework for road traffic controls based on evolutionary algorithms and traffic simulation. Advances in Engineering Software 114, 348–360 (2017)DOI
  24. [24]Karmakar, G., Chowdhury, A., Kamruzzaman, J., Gondal, I.: A smart priority-based traffic control system for emergency vehicles. IEEE Sensors Journal 21(14), 15849–15858 (2020)DOI
  25. [25]Khan, A., Ullah, F., Kaleem, Z., Rahman, S.U., Anwar, H., Cho, Y.Z.: Evp-stec: Emergency vehicle priority and self-organising traffic control at intersections using internet-of-things platform. IEEE Access 6, 68242–68254 (2018)DOI
  26. [26]Khan, H., Thakur, J.S.: Smart traffic control for dynamic road traffic management in urban environments. Multimedia Tools and Applications 84(12), 10321–10345 (2025)DOI
  27. [27]Lewandowska, P., Beseda, M.: Benchmarking gate-based quantum devices via certification of qubit von neumann measurements. arXiv preprint arXiv:2506.03514 (2025)arxiv.org/abs/2506.03514
  28. [28]Lewis, M., Glover, F.: Quadratic unconstrained binary optimization problem pre-processing: Theory and empirical analysis. Networks 70(2), 79–97 (2017)DOI
  29. [29]Mao, T., Mihăită, A.S., Chen, F., Vu, H.L.: Boosted genetic algorithm using machine learning for traffic control optimization. IEEE transactions on intelligent transportation systems 23(7), 7112–7141 (2021)arxiv.org/abs/2103.08317
  30. [30]Montanez-Barrera, J., Willsch, D., Michielsen, K.: Transfer learning of optimal qaoa parameters in combinatorial optimization: Ja montañez-barrera et al. Quantum information processing 24(5), 129 (2025)
  31. [31]Montañez-Barrera, J.A., Michielsen, K.: Toward a linear-ramp qaoa protocol: evidence of a scaling advantage in solving some combinatorial optimization problems. npj Quantum information 11(1), 131 (2025)
  32. [32]Navarro-Espinoza, A., López-Bonilla, O.R., García-Guerrero, E.E., Tlelo-Cuautle, E., López-Mancilla, D., Hernández-Mejía, C., Inzunza-González, E.: Traffic flow prediction for smart traffic lights using machine learning algorithms. Technologies 10(1), 5 (2022)
  33. [33]Neukart, F., Compostella, G., Seidel, C., Von Dollen, D., Yarkoni, S., Parney, B.: Traffic flow optimization using a quantum annealer. Frontiers in ICT 4, 301656 (2017)arxiv.org/abs/1708.01625
  34. [34]Novák, V., Bezděk, T., Zelinka, I., Das, S., Beseda, M.: A longitudinal analysis of the cec single-objective competitions (2010–2024) and implications for variational quantum optimization. Swarm and Evolutionary Computation 107, 102469 (2026). https://doi.org/10.1016/j.swevo.2026.102469
  35. [35]Novák, V., Illésová, S., Bezděk, T., Zelinka, I., Beseda, M.: Reliable optimization under noise in quantum variational algorithms. arXiv preprint arXiv:2511.08289 (2025)arxiv.org/abs/2511.08289
  36. [36]Novák, V., Zelinka, I., Přibylová, L., Martínek, L., Benčurik, V.: Quantum machine learning for predicting anastomotic leak: a clinical study. Sci. Rep. 16(1) (May 2026)arxiv.org/abs/2506.01708
  37. [37]Novák, V., Zelinka, I., Snášel, V.: Optimization strategies for variational quantum algorithms in noisy landscapes. Evolutionary Intelligence 19(5), 142 (2026)arxiv.org/abs/2506.01715
  38. [38]Pandit, K., Ghosal, D., Zhang, H.M., Chuah, C.N.: Adaptive traffic signal control with vehicular ad hoc networks. IEEE Transactions on vehicular technology 62(4), 1459–1471 (2013)DOI
  39. [39]Papageorgiou, M., Diakaki, C., Dinopoulou, V., Kotsialos, A., Wang, Y.: Review of road traffic control strategies. Proceedings of the IEEE 91(12), 2043–2067 (2003)DOI
  40. [40]Punnen, A.P.: The quadratic unconstrained binary optimization problem. Springer International Publishing 10, 978–3 (2022)DOI
  41. [41]Rosayyan, P., Paul, J., Subramaniam, S., Ganesan, S.I.: An optimal control strategy for emergency vehicle priority system in smart cities using edge computing and iot sensors. Measurement: Sensors 26, 100697 (2023)DOI
  42. [42]Ruiz, A., Ghosh, S., Woerner, S.: Binary optimization with complex constraints via quantum approximate multi-objective optimization. arXiv preprint arXiv:2609.13790 (2026)arxiv.org/abs/2609.13790
  43. [43]Samadi, S., Rad, A.P., Kazemi, F.M., Jafarian, H., et al.: Performance evaluation of intelligent adaptive traffic control systems: A case study. Journal of transportation technologies 2(3), 248–259 (2012)DOI
  44. [44]Serafini, P., Ukovich, W.: A mathematical model for the fixed-time traffic control problem. European Journal of Operational Research 42(2), 152–165 (1989)DOI
  45. [45]Singh, A., Lin, C.Y., Huang, C.I., Lin, F.P.: Quantum annealing approach for the optimal real-time traffic control using qubo. In: 2021 IEEE/ACIS 22nd International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), pp. 74–81. IEEE (2021)DOI
  46. [46]Thunig, T., Scheffler, R., Strehler, M., Nagel, K.: Optimization and simulation of fixed-time traffic signal control in real-world applications. Procedia Computer Science 151, 826–833 (2019)
  47. [47]Trovato, A., Beseda, M., Di Nucci, D.: A preliminary investigation on the usage of quantum approximate optimization algorithms for test case selection. In: Proceedings of the 2025 29th International Conference on Evaluation and Assessment in Software Engineering Companion, pp. 56–60 (2025)arxiv.org/abs/2504.18955
  48. [48]Wang, Y., Yang, X., Liang, H., Liu, Y.: A review of the self-adaptive traffic signal control system based on future traffic environment. Journal of Advanced Transportation 2018(1), 1096123 (2018)DOI
  49. [49]Xu, M., An, K., Vu, L.H., Ye, Z., Feng, J., Chen, E.: Optimizing multi-agent based urban traffic signal control system. Journal of Intelligent Transportation Systems 23(4), 357–369 (2019)DOI
  50. [50]Yu, Q., Jin, R.: Improved quantum approximate optimization algorithm based on conditional value-at-risk for portfolio optimization. IEICE Transactions on Information and Systems p. 2024EDP7254 (2025)DOI
  51. [51]Yu, W., Bai, W., Luan, W., Qi, L.: State-of-the-art review on traffic control strategies for emergency vehicles. IEEE Access 10, 109729–109742 (2022)DOI
  52. [52]Zhao, D., Dai, Y., Zhang, Z.: Computational intelligence in urban traffic signal control: A survey. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews) 42(4), 485–494 (2011)DOI
  53. [53]Zhou, L., Wang, S.T., Choi, S., Pichler, H., Lukin, M.D.: Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices. Physical Review X 10(2), 021067 (2020)

Paper details

vlnc:W_pavsd2ph
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents