The Discrete-Phase RIS Problem

Every Real RIS Is Discrete

Chapter 2 covered the hardware story: a PIN-diode unit cell gives 2B2^B phase states for BB diodes, while a varactor with a 3-bit DAC gives 8 phase states. Continuous phases are a mathematical convenience, not a deployable reality. Section 8.1 formalizes the discrete-phase optimization problem, highlights its combinatorial structure, and contrasts it with the continuous case.

The golden thread: the RIS programs the channel. Discretizing the phase-shift alphabet constrains how finely the channel can be programmed, but does not fundamentally change what the RIS can do. Section 2.2 showed the loss is sinc2(π/2B)\text{sinc}^2(\pi/2^B) under coherent alignment — modest at B=3B = 3, severe at B=1B = 1. Here we translate the optimization framework from continuous M=(S1)N\mathcal{M} = (S^1)^N to discrete MB\mathcal{M}_B.

Discrete Torus

The finite feasible set MB={ejθ:θΘB}N\mathcal{M}_B = \{e^{j\theta} : \theta \in \Theta_B\}^N of the BB-bit RIS, consisting of LN=2BNL^N = 2^{BN} distinct configurations. A finite subset of the continuous unit-modulus torus M=(S1)N\mathcal{M} = (S^1)^N.

Related: Bit Depth, Discrete-Phase Unit-Modulus QCQP

Nearest-Level Projection

The operator PΘB(θ)\mathcal{P}_{\Theta_B}(\theta) that maps a continuous phase θ[0,2π)\theta \in [0, 2\pi) to its closest point on the discrete grid ΘB\Theta_B. Implements the "project-from-continuous" discrete optimization approach.

Related: Nearest-Level Projection, Discrete Bcd

Definition:

Discrete-Phase Unit-Modulus QCQP

Let ΘB={0,Δθ,2Δθ,,(L1)Δθ}\Theta_B = \{0, \Delta\theta, 2\Delta\theta, \ldots, (L-1)\Delta\theta\} with L=2B,Δθ=2π/LL = 2^B, \Delta\theta = 2\pi/L be the BB-bit phase alphabet. The discrete feasible set is

MB={(ejθ1,,ejθN):θnΘB}M.\mathcal{M}_B = \{(e^{j\theta_1}, \ldots, e^{j\theta_N}) : \theta_n \in \Theta_B\} \subset \mathcal{M}.

The discrete-phase passive subproblem is

  maxϕMB  ϕHAϕ  \boxed{\;\max_{\boldsymbol{\phi} \in \mathcal{M}_B}\; \boldsymbol{\phi}^H \mathbf{A} \boldsymbol{\phi}\;}

with PSD A\mathbf{A}. The continuous-phase QCQP relaxes MB\mathcal{M}_B to M\mathcal{M}; the continuous problem is NP-hard, and the discrete version is strictly harder (at best the same, but typically combinatorially harder).

Theorem: Discrete-Phase QCQP Is NP-Hard

The discrete-phase unit-modulus QCQP with L2L \geq 2 phase levels is NP-hard. Specifically:

  • At L=2L = 2 (1-bit), the problem reduces to MAX-CUT, which is NP-hard (Karp 1972).
  • For general LL, the problem can be reduced to 1-bit by discretization arguments.

The brute-force search space has LNL^N configurations: at N=256,B=2N = 256, B = 2, that is 4256101544^{256} \approx 10^{154}. Exhaustive search is hopeless for any practical NN.

The continuous case is NP-hard (Ch. 6, Theorem 6.2); restricting to a discrete subset can only make the problem harder or equal — in this case, equal: both are NP-hard. The brute-force search space is LNL^N, which is astronomically large even for modest NN.

,

Key Takeaway

Discrete-phase RIS is combinatorially hopeless — and pedagogically informative. No polynomial-time algorithm exists for the exact global optimum. Two practical routes: (1) continuous-then-project (Section 8.2), giving near-optimal solutions in polynomial time; (2) direct discrete optimization (Section 8.3), matching the continuous-project quality in most cases with similar cost. Both are approximate.

Two Routes to the Discrete Solution

Two algorithmic philosophies for the discrete-phase problem:

  1. Continuous-then-project: Solve the continuous-phase problem (Chapters 5–7), then project each ϕn\phi_n^\star onto the nearest discrete level. Simple, uses existing machinery, discretization loss of sinc2(π/2B)\text{sinc}^2(\pi/2^B) for coherent problems (Chapter 2, Theorem 2.4).
  2. Direct discrete optimization: Work natively in MB\mathcal{M}_B. Methods: discrete BCD (closed-form at each coordinate), branch-and-bound for small NN, tabu/simulated annealing heuristics, SDR + discrete randomization.

Section 8.2 develops the projection approach (simpler, usually sufficient), Section 8.3 the direct approach (slightly better for multi-user scenarios).

Example: Projection for a 2-bit RIS, N=3N = 3

A continuous-phase solution is θn=[0.3,2.5,4.8]\theta_n^\star = [0.3, 2.5, 4.8] (radians). Project onto the 2-bit phase grid Θ2={0,π/2,π,3π/2}\Theta_2 = \{0, \pi/2, \pi, 3\pi/2\}.

Discrete Phase Grid on the Complex Unit Circle

Discrete Phase Grid on the Complex Unit Circle
Left: 1-bit (2 phases). Center: 2-bit (4 phases). Right: 3-bit (8 phases). The discrete torus MB\mathcal{M}_B is the Cartesian product of NN copies of the grid. Projection rounds any continuous θ\theta to its nearest grid point (dashed lines: Voronoi cell boundaries).

Multi-User: Discretization Couples the Users

For single-user scenarios, the continuous-phase optimum projects cleanly: each element's optimal phase is independent of the others (ϕn=ejarg(an)\phi_n^\star = e^{-j\arg(a_n)}), so rounding each is independently near-optimal.

For multi-user scenarios, the continuous-phase optimum has coupled coordinates — each ϕn\phi_n depends on all others through the inter-user interference terms. Independent per-coordinate rounding can disrupt the coupling, giving a worse discrete solution than a more careful joint projection. Section 8.3's direct-discrete BCD is designed to handle this coupling.

⚠️Engineering Note

Bit Budget vs. Element Count

A fixed hardware complexity budget (number of control pins) can be spent as either more elements at lower resolution, or fewer elements at higher resolution. The tradeoff:

  • N=1024N = 1024 elements at B=1B = 1-bit: Nlog2L=10241=1024N \log_2 L = 1024 \cdot 1 = 1024 control bits. Loss: 3.92 dB3.92\text{ dB} per Theorem 2.4. Effective size: NeffN/ηB1416N_{\text{eff}} \approx N/\eta_B^{-1} \approx 416.
  • N=256N = 256 at B=3B = 3-bit: 2563=768256 \cdot 3 = 768 control bits. Loss: 0.22 dB0.22\text{ dB}. Effective size: N\sim N.
  • N=128N = 128 at B=4B = 4-bit: 1284=512128 \cdot 4 = 512 control bits. Loss: 0.06 dB0.06\text{ dB}. Effective size: N\sim N.

A fixed budget of 1024\sim 1024 control bits favors the higher-resolution option because coherent SNR is quadratic in NN: doubling NN at the cost of 1 fewer bit gives 22/1/η140.4=1.6×2^2 / 1/\eta_1 \approx 4 \cdot 0.4 = 1.6 \times SNR, a favorable trade. So at hardware cost parity, more elements at lower resolution generally wins — but only if B2B \geq 2 (below which the quantization loss erodes the scaling benefit).

Practical Constraints
  • Control-bit budgets scale roughly with panel cost: $0.05\sim \$0.05-0.300.30 per bit/pin in volume.

  • Phase resolution B3B \geq 3 is standard for production RIS panels (losses 0.3\leq 0.3 dB).

  • 1-bit RIS is rare except in research prototypes (Arun and Balakrishnan 2020 RFocus).

Bit Budget: More Elements or More Bits?

For a fixed total control-bit budget BN=CB \cdot N = C, plot the effective coherent SNR as BB varies (with N=C/BN = C/B). The curve shows the optimal tradeoff — typically B=2B = 2-33 bits with the maximum NN allowed by the budget.

Parameters
1024
-20

Common Mistake: Don't Chase 1-Bit Because It's Simple

Mistake:

"1-bit RIS is cheapest; I'll build a huge N=4096N = 4096 panel and exploit the N2N^2 gain to beat all comers."

Correction:

1-bit costs sinc2(π/2)=0.405\text{sinc}^2(\pi/2) = 0.405 — a 3.92 dB3.92\text{ dB} coherent SNR penalty. To match 3-bit's performance, need N1-bit=N3-bit/0.405/0.9491.53N3-bitN_{\text{1-bit}} = N_{\text{3-bit}} / \sqrt{0.405/0.949} \approx 1.53 N_{\text{3-bit}}. If control-bit budget is the constraint, B=2B = 2-33 with moderate NN is typically the sweet spot. Go to 1-bit only if the pin/cost budget is very tight and you are happy with a 4 dB\sim 4\text{ dB} penalty.