A quantum-simulated image-processing framework developed at the Vellore Institute of Technology in India detected natural image boundaries with higher dataset-level precision and structural fidelity than five classical edge detectors while using at most six qubits, according to an original research article published in Frontiers in Artificial Intelligence in December 2026. Researchers Irshad Parakkal and Sripathy Budhi evaluated their Multiscale Quantum Haar Wavelet Transform (MQHWT) on the 200-image test set of the Berkeley Segmentation Dataset 500 (BSDS500), achieving an Optimal Dataset Scale (ODS) score of 0.6614, an Optimal Image Scale (OIS) score of 0.6656, Average Precision (AP) of 0.6078, and pixel-level accuracy of 0.9254. All experiments ran on a classical statevector simulator without claiming quantum computational speedup.
Edge detection is a foundational task in computer vision and image analysis that locates abrupt local intensity variations where object boundaries, surface breaks, and texture transitions appear, supporting segmentation, object recognition, shape analysis, medical imaging, and remote sensing. Detecting weak edges in low-contrast or structurally complex natural scenes remains challenging. Classical gradient-based operators rely heavily on local intensity differences and can suffer from noise sensitivity, scale dependency, and unwanted texture responses, while uniform wavelet transforms expend equal effort on informative contours and homogeneous areas. Meanwhile, existing quantum image representations such as the Flexible Representation of Quantum Images (FRQI) and Novel Enhanced Quantum Representation (NEQR) encode whole images using registers that grow with image resolution and pixel depth—requiring 2n + 1 and 2n + l qubits, respectively, for a 2n × 2n image—creating circuit-depth and memory bottlenecks for near-term noisy intermediate-scale quantum (NISQ) hardware and simulators.
To avoid encoding entire images into large quantum states, Parakkal and Budhi linked classical preprocessing and selective patch extraction to compact local quantum operations. Each input image is converted to grayscale and its 8-bit pixel intensities are normalized from [0, 255] to [0, 1]. A 3 × 3 median filter then removes small impulsive noise without averaging across edge boundaries, preventing single-pixel disturbances from distorting subsequent wavelet coefficients. Next, the filtered image is partitioned into dense overlapping 4 × 4 and 8 × 8 patches with unit stride. Smaller 4 × 4 patches capture thin contours and fine local transitions, whereas 8 × 8 patches capture broader object boundaries and contextual edge structures. Before quantum processing, the algorithm calculates each patch’s local mean and intensity variance, retaining only patches meeting or exceeding a threshold of 5 × 10−3 and treating excluded low-variance patches as non-edge regions.
Retained patches enter the quantum stage through amplitude encoding, which stores normalized pixel values directly in quantum probability amplitudes. Each selected P × P patch is flattened in row-major order into a one-dimensional vector of 16 elements for 4 × 4 patches or 64 elements for 8 × 8 patches. To suppress local background brightness and highlight relative intensity variation, the minimum pixel value within each patch is subtracted from every element before normalizing the shifted vector by its Euclidean norm. Because amplitude encoding maps N values into log2(N) qubits, 4 × 4 and 8 × 8 patches need four and six qubits, respectively, reused sequentially across an entire image. Each encoded state then undergoes a recursively constructed one-dimensional Quantum Haar Wavelet Transform to full depth—four levels for 4 × 4 patches and six for 8 × 8 patches—rather than a separable two-dimensional transform.
Full-depth Haar decomposition converts each patch into one low-frequency approximation coefficient representing average intensity and multilevel detail coefficients capturing abrupt intensity transitions across scales. The framework discards the approximation coefficient and computes each patch’s scalar edge strength solely from the energy of its non-approximation detail coefficients. Rather than distributing that value across the entire patch, which would create thick, block-like contours, the algorithm assigns it exclusively to the discrete center pixel—coordinate (2, 2) for 4 × 4 patches and (4, 4) for 8 × 8 patches. Responses from both scales are merged via maximum fusion to preserve fine local edges alongside broader structures. Post-processing then applies light Gaussian smoothing (σ = 0.6), percentile-based normalization to [0, 1], directional non-maximum suppression to thin contours, and Otsu’s thresholding for binary evaluation, with all parameters chosen exclusively on the BSDS500 training set and kept fixed during validation and testing.
The team ran all simulations with Qiskit-AerSimulator in Python 3.11, evaluating MQHWT against human boundary annotations on BSDS500 and five classical baselines: Canny, Sobel, Laplacian, Roberts, and the classical Haar transform. Seven metrics assessed performance: ODS for the best F1-score under one global threshold, OIS for per-image optimal thresholds, AP across precision-recall thresholds, pixel-level accuracy, Area Under the Curve (AUC) for edge-versus-non-edge separability, Structural Similarity Index (SSIM) against ground-truth maps, and Pratt’s Figure of Merit (PFOM) for localization accuracy. On the 200-image test set, MQHWT ranked first on six of seven metrics, achieving an ODS of 0.6614 versus 0.6300 for Sobel, 0.6190 for classical Haar, 0.6165 for Roberts, 0.5968 for Laplacian, and 0.5900 for Canny. MQHWT also led in AP (0.6078), accuracy (0.9254), AUC (0.6357), SSIM (0.6034), and PFOM (0.3662), whereas Sobel (0.6701) and classical Haar (0.6659) slightly outperformed MQHWT’s OIS of 0.6656.
Validation-set results mirrored the test-set pattern, showing that performance gains extended across dataset partitions. On BSDS500 validation images, MQHWT again topped all five baselines on six metrics, recording an ODS of 0.6546, AP of 0.6258, accuracy of 0.9289, AUC of 0.6428, SSIM of 0.6187, and PFOM of 0.3701, ahead of Sobel’s 0.6245 and classical Haar’s 0.6176 on ODS. Only on validation OIS did Sobel edge ahead at 0.6708 compared with 0.6687 for MQHWT. Pixel-classification accuracy stayed consistent across training (0.9283), validation (0.9289), and test (0.9254) subsets. Visual comparisons reported in the study aligned with these quantitative results: whereas competing classical detectors often missed subtle boundaries or produced fragmented contours, MQHWT yielded sharper, more continuous, and better-localized edge maps while suppressing background noise and spurious texture responses.
To evaluate the trade-off between workload reduction and edge quality, the authors tested seven variance-screening thresholds across 61,760,400 total candidate patches. A permissive threshold of 1 × 10−4 skipped 29.6 percent of patches (ODS 0.6528, accuracy 0.9115), while 1 × 10−3 achieved the highest ODS (0.6708), OIS (0.6827), and AP (0.6544) while skipping 59.0 percent. At the chosen operating threshold of 5 × 10−3, screening bypassed 50,509,249 patches—an 81.8 percent saving—leaving 11,251,151 patches for quantum processing with an ODS of 0.6547 and accuracy of 0.9283; raising the threshold to 1 × 10−2 skipped 89.3 percent but lowered ODS to 0.6191 and AP to 0.5745. An ablation study under the shared pipeline confirmed that combining both scales (ODS 0.6547, AP 0.6209) outperformed single-scale 4 × 4 (ODS 0.6307), 8 × 8 (ODS 0.6514), and classical Haar (ODS 0.6449) configurations. Removing non-maximum suppression (ODS 0.6504) or Gaussian smoothing (ODS 0.6521) caused modest drops, while mean fusion slightly raised ODS to 0.6555 but reduced OIS (0.6590) and AP (0.6014).
A quantum resource analysis revealed steep circuit-complexity growth between the two patch sizes despite their small qubit counts. Encoding a 16-element 4 × 4 patch into four qubits required 41 single-qubit gates and 11 controlled-NOT (CX) gates for state preparation (depth 43), plus 437 single-qubit gates and 95 CX gates for Haar-unitary decomposition (depth 332), totaling 106 CX gates and a complete circuit depth of 372. Expanding to a 64-element 8 × 8 patch added only two qubits but raised state preparation to 163 single-qubit gates, 57 CX gates, and depth 205, while Haar decomposition surged to 7,227 single-qubit gates, 1,775 CX gates, and depth 5,809—yielding 1,832 CX gates and depth 6,010 overall. Using an all-outcomes criterion (ε = 0.05, δ = 0.01), the authors calculated theoretical finite-shot estimates of 1,615 shots per 4 × 4 patch and 1,892 per 8 × 8 patch, noting these shots were not used to generate the statevector-simulated edge maps.
Because every quantum operation was executed via noiseless statevector simulation rather than physical quantum hardware, the authors stress that their results evaluate a quantum-simulated framework rather than establishing quantum computational speedup. The sharp increase in gate count and circuit depth for 8 × 8 patches likewise underscores the practical trade-off between wider spatial context and hardware complexity. Looking forward, Parakkal and Budhi identify three main directions for future work: evaluating MQHWT on real quantum processors under realistic noise conditions; developing adaptive or learnable multiscale designs where patch selection, scale fusion, and wavelet parameters adjust to image content instead of remaining fixed empirically; and extending the local quantum wavelet approach beyond grayscale edge detection to multichannel image enhancement, particularly for multispectral and satellite imagery where preserving both spatial structure and spectral information matters.
Subject of Research: Quantum-simulated multiscale Haar wavelet edge detection for digital images
Article Title: Multiscale Quantum Haar Wavelet Transform for image edge detection
Article References: Parakkal, I., & Budhi, S. (2026). Multiscale Quantum Haar Wavelet Transform for image edge detection. Frontiers in Artificial Intelligence, 9, Article 1977649. https://doi.org/10.3389/frai.2026.1977649
Image Credits: AI Generated
DOI: 10.3389/frai.2026.1977649
Keywords: Multiscale Quantum Haar Wavelet Transform, edge detection, quantum image processing, amplitude encoding, Haar wavelet transform, BSDS500 benchmark, variance-based patch screening, statevector simulation, Qiskit AerSimulator, multiscale fusion, non-maximum suppression, Otsu thresholding, Optimal Dataset Scale, quantum circuit complexity, NISQ computing, median filtering, computer vision
News Source: Katie Riggs. (December 2, 2026). Quantum-Simulated Multiscale Wavelet Framework Detects Image Edges Using Six Qubits. Scienmag.



