WorksEngineering
qVocalTract: Efficient encoding framework of vocal-tract spectra on a quantum computer
Abstract
The vocal-tract transfer function links the physical articulatory model to speech. Quantum encoding of vocal-tract transfer functions requires circuits that preserve acoustic structure under hardware noise. This paper proposes the qVocalTract framework, which uses optimized, ancilla-free staircase layers for spectral loading. Simulations and a superconducting processor compare this approach with sequential matrix-product-state preparation on vocal-tract data. Staircase preparation lowers spectral error and improves resonance recovery, while a modal probe demonstrates coherent processing. The comparison reveals a trade-off between approximation accuracy and accumulated circuit noise. These findings guide practical support for further quantum acoustic processing with physical vocal-tract models.
Introduction
Vocal-tract transfer functions link articulatory geometry to acoustic resonances. They provide a physical test case for loading structured acoustic data onto quantum processors. Amplitude encoding stores values in qubits. However, generic state preparation requires a gate count that grows with [1, 2]. The loading circuit is therefore central to a practical quantum representation.
Li et al. [3] studied matrix-product-state (MPS) compression of transfer functions from the Dresden Vocal Tract Dataset (DVTD) [4]. An MPS represents a state with local tensors connected by a bond index [5, 6]. Sequential preparation carries this index through an ancilla register [7]. A larger bond dimension improves approximation capacity. It also enlarges each site unitary and increases ancilla-routing costs on a sparsely connected processor.
We implement qVocalTract on ibm_kawasaki by adapting ancilla-free staircase decompositions and local unitary optimization to acoustic spectra [8, 9, 10]. Our contribution is a hardware comparison that connects circuit cost to spectral-envelope error and resonance recovery. We evaluate a reference vowel and all 44 DVTD cases, then test coherent evolution with a separate modal probe. Figure 1 summarizes the workflow and preparation circuits.
Figure 1. (a) Workflow from DVTD transfer functions to quantum readout. Curves illustrate the reference-vowel target (solid) and raw three-layer reconstruction (dashed). (b) Sequential MPS preparation [7] for five data qubits: each site unitary shares the ancilla register; numerals label its ports. (c) Two staircase layers without ancillas; time runs left to right.
Methods
Encoding and sequential preparation
We sample a calculated transfer function at , with and kHz. The grid includes zero and excludes . The peak-normalized log-magnitude and encoded state are
All target amplitudes are nonnegative. Qubit carries bit of . Right-canonical tensor-train singular-value decomposition (SVD), truncated at bond dimension , produces a normalized approximation . For 14 sites, the stored tensor counts are 104, 360, and 1192 for .
Sequential preparation extends each site isometry to a unitary on one data qubit and ancilla qubits. The ancilla carries the bond between sites and returns to zero at the end Figure 1(b). Larger site unitaries require more two-qubit gates [2]. The shared ancilla may also need routing between distant data qubits. We report compiled two-qubit gate counts.
Ancilla-free staircase preparation
A bond-two MPS requires nearest-neighbor two-qubit gates and one single-qubit gate [8]. The next data qubit carries the bond, removing the separate ancilla Figure 1(c). We construct the first staircase from the target and the next from the residual state . Repeating this step gives . The last constructed layer is applied first.
For , we refine the gates with local polar-decomposition updates. Write the target overlap for one gate as . An SVD gives the maximizing unitary . Optimization runs for at most 40 forward sweeps and stops when the fidelity gain falls below . Fidelity is . The one-layer baseline uses the unoptimized bond-two staircase. Gates connect adjacent logical qubits; the physical layout and transpiler determine routing.
Envelope and resonance readout
Computational-basis measurements estimate for the prepared state. Using the known target sign and scale gives . This readout estimates amplitude magnitudes; it does not verify relative signs or phases in an approximate state. Since 50 000 shots provide only about three samples per full-resolution outcome, we combine adjacent bins:
The 256-bin envelope has a spacing of 39.06 Hz. We compute RMSE over 0–10 kHz against the target reduced by block RMS at the same resolution. Resonances are the first three peaks between 150 and 4000 Hz, with at least 3 dB prominence and about 200 Hz separation. Peak detection uses no smoothing for the reference vowel and a three-bin moving average for the dataset sweep. These settings reproduce the respective archived records. Missing peaks count as failures for the all-three-within-100-Hz criterion. Formant MAE uses available target–reconstruction pairs and is reported with the success fraction.
We also reproduce the recorded tensor-product readout correction [11, 12]. It uses all-zero and all-one calibration circuits to correct the coarse marginal and assumes independent readout errors. We report raw-count comparisons alongside the corrected results.
Experimental settings
DVTD contains 44 vocal-tract configurations from two speakers, including vowels and consonants [4]. Calculated transfer functions define the targets. Measured transfer functions provide an additional acoustic reference. We interpolate magnitude and unwrapped phase separately. Both envelopes use the calculated peak as their dB offset. We evaluate block-RMS error over the full band; the earlier study independently normalized the envelopes and evaluated 80–5000 Hz.
We conducted hardware experiments on ibm_kawasaki. We used Qiskit [13], transpiler optimization level 3, fixed seeds, and XY4 dynamical decoupling on hardware [14]. We compare hardware with an ideal sampler and the static FakeTorino model, which represents a different device calibration. The reference case is s1-01, tense /a/ from speaker 1. Its target resonances are 527, 1113, and 2285 Hz. The spectrum experiments use 100 000 shots for the ideal sampler, 20 000 for the noise model, and 50 000 for hardware. The dataset sweep uses 20 000 shots per case. Sampling budgets, therefore, differ in the single-case noise comparison.
Results
Reference vowel
Table I separates approximation, ideal-sampler, and hardware errors. Increasing improves noiseless sequential preparation. On hardware, however, RMSE rises from 6.63 to 10.30 dB as the compiled gate count grows from 39 to 1839. Three staircase layers use 98 gates and achieve 3.52 dB. Their resonances are 488, 1133, and 2462 Hz, each within one coarse bin of the target. Four layers improve the ideal approximation but raise hardware error to 4.88 dB. Figure 2 shows selected envelopes at the same 256-bin resolution.
Figure 2. Reference-vowel envelopes reconstructed from the archived hardware counts at 256-bin resolution. Panels show sequential , 4 and staircase , 3 preparations; titles give corrected RMSE against the target. All curves and Table I use the same block-RMS convention.
Dataset-wide comparison
Across 44 cases, the three-layer staircase gives a corrected mean hardware RMSE of 4.74 dB. Sequential and 4 give 7.15 and 9.15 dB, respectively (Table II; Figure 3). Three layers improve on both baselines in every case. The fraction with all three resonances within 100 Hz is 0.30 for three layers and zero for both sequential baselines. Resonance recovery improves, although errors in the second and third peaks remain substantial.
| Preparation | 2q | Approx. | Ideal | Device | MAE F1/F2/F3 (Hz) | ok |
| Ancilla | 39 | 6.26 | 6.50 | 7.15 | 452 / 586 / 619 | 0.00 |
| Ancilla | 461 | 2.56 | 3.06 | 9.15 | 222 / 563 / 1050 | 0.00 |
| qVocalTract | 30 | 6.26 | 6.50 | 6.88 | 597 / 570 / 624 | 0.02 |
| qVocalTract | 99 | 2.48 | 2.99 | 4.74 | 160 / 310 / 518 | 0.30 |
Table II. All 44 cases on ibm_kawasaki, with recorded readout correction: mean 256-bin RMSE (dB), MAE of detected resonances (Hz), and the fraction with all three within 100 Hz (“ok”). “2q” is the mean compiled gate count rounded to the nearest integer; 20 000 shots per circuit.
Figure 3. 44-case sweep with the recorded readout correction. Left: 256-bin RMSE per preparation; grey = noiseless approximation, blue = ideal sampler, purple = ibm_kawasaki. Right: mean formant error on the ideal sampler and on the device.
| Preparation | 2q | Approx. | Ideal | Device | Resonances (Hz) |
| Ancilla | 39 | 6.22 | 6.35 | 6.63 | 879, 1152, 2011 |
| Ancilla | 461 | 2.61 | 2.60 | 7.82 | 410, 722, 1074 |
| Ancilla | 1839 | 0.26 | 0.71 | 10.30 | 722, 918, 1465 |
| qVocalTract | 29 | 6.22 | 6.26 | 6.50 | 722, 1113, 1308 |
| qVocalTract | 67 | 4.11 | 4.13 | 4.51 | 879, 1777, 2285 |
| qVocalTract | 98 | 2.32 | 2.39 | 3.52 | 488, 1113, 2246 |
| qVocalTract | 130 | 1.89 | 2.03 | 4.88 | 449, 761, 1074 |
Table 1. Reference vowel on IBM_Kawasaki: 256-bin envelope RMSE (dB), including the approximation column, and detected resonances (Hz). Target resonances are 527, 1113, and 2285 Hz. “2q” denotes the compiled CZ count. Recovered values use the recorded readout correction.
Raw-count recalculation gives mean RMSEs of 4.77, 7.16, and 9.22 dB for three layers and sequential , 4. The staircase again wins all 44 comparisons against each baseline. The same 13 of 44 cases meet the three-resonance criterion before and after correction. The improvement, therefore, persists without readout correction. Raw three-layer resonance MAEs are 157, 324, and 522 Hz, based on 44, 44, and 43 valid pairs. One target has no detected third peak.
Against measured transfer functions, the three-layer hardware RMSE is 5.96 dB, compared with 4.75 dB for its noiseless approximation. Sequential was evaluated only for the reference vowel and was excluded from the 44-case sweep.
Noise-model comparison
Table III reports the reference-vowel results under FakeTorino. Sequential circuits degrade as increases under both modeled and hardware noise. The model slightly favors four layers (4.21 versus 4.27 dB), while hardware favors three (3.52 versus 4.88 dB). This difference shows how circuit noise affects the best preparation depth.
| Preparation (2q) | Ideal | Noise model | Device |
| Ancilla (39) | 6.35 | 6.42 | 6.63 |
| Ancilla (452) | 2.60 | 6.51 | 7.82 |
| Ancilla (1850) | 0.71 | 8.91 | 10.30 |
| qVocalTract (29) | 6.26 | 6.34 | 6.50 |
| qVocalTract (67) | 4.13 | 4.92 | 4.51 |
| qVocalTract (98) | 2.39 | 4.27 | 3.52 |
| qVocalTract (130) | 2.03 | 4.21 | 4.88 |
Table III. Reference-vowel 256-bin RMSE (dB) on the ideal sampler, static FakeTorino noise model, and hardware. Parentheses give the gate count compiled for the noise model.
Separate modal-probe experiment
The modal-probe experiment uses square-root-magnitude encoding rather than the log-magnitude state in Eq. (1). Its real amplitudes satisfy and (the code’s cuda encoding). For real prepared amplitudes , let . The modal probe is . Linear frequency spacing implements diagonal evolution with single-qubit phase gates. For interference readout, we add a clock qubit in and use it to control the evolution. Hadamard gates on the clock and data register yield joint probabilities satisfying
Controlled phase gates add entangling operations after preparation. With one staircase layer, the hardware experiment uses up to 84 two-qubit gates per circuit, 48 time samples at 48 kHz, and 2000 shots per sample. Correlation with the ideal prepared-state probe is 0.974 (Figure 4). The noise-model and ideal-sampler correlations are 0.989 and 0.998. This experiment tests coherent processing of the prepared state, rather than speech synthesis.
Figure 4. Modal probe with square-root-magnitude encoding and a one-layer staircase: 48 samples at 48 kHz on ibm_kawasaki. Curves show the target-state, prepared-state, and hardware probes.
Discussion
The results connect state-preparation cost to acoustic accuracy. Larger sequential bond dimensions reduce approximation error but increase decomposition and routing costs. Staircase layers add local two-qubit gates in smaller steps. This gives a useful balance between approximation accuracy and accumulated noise on the tested processor.
Classical optimization uses the full target vector for each case, and envelope recovery requires many samples. Peak extraction is sensitive to missing and spurious resonances, so repeated hardware runs are needed to estimate variability.
Conclusion
In this paper, the ancilla-free staircase preparation improves spectral recovery over the tested sequential baselines. Three layers provide the best hardware accuracy for the reference vowel and improve mean accuracy across 44 configurations. Acoustic error and resonance recovery provide practical criteria for choosing preparation circuits. Extending this approach to broader physical vocal-tract models and coherent acoustic operations is the next step toward quantum speech processing.
Acknowledgment
This work was supported in part by a research grant from The Telecommunications Advancement Foundation and by JSPS KAKENHI Grant Number JP23K11227.
References
- [1]M. Plesch and Č. Brukner, “Quantum-state preparation with universal gate decompositions,” Physical Review A, vol. 83, p. 032302, 2011.DOI
- [2]V. V. Shende, S. S. Bullock, and I. L. Markov, “Synthesis of quantum logic circuits,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 25, no. 6, pp. 1000–1010, 2006.
- [3]S. Li and J. Li, “Matrix-product-state compression of quantum-encoded vocal-tract transfer functions,” JASA Express Letters, vol. 6, no. 9, p. 094803, 2026.DOI
- [4]P. Birkholz, S. Kürbis, S. Stone, P. Häßner, R. Blandin, and M. Fleischer, “Printable 3D vocal tract shapes from MRI data and their acoustic and aerodynamic properties,” Scientific Data, vol. 7, p. 255, 2020.
- [5]G. Vidal, “Efficient classical simulation of slightly entangled quantum computations,” Physical Review Letters, vol. 91, p. 147902, 2003.DOI
- [6]I. V. Oseledets, “Tensor-train decomposition,” SIAM Journal on Scientific Computing, vol. 33, no. 5, pp. 2295–2317, 2011.DOI
- [7]C. Schön, E. Solano, F. Verstraete, J. I. Cirac, and M. M. Wolf, “Sequential generation of entangled multiqubit states,” Physical Review Letters, vol. 95, p. 110503, 2005.pubmed.ncbi.nlm.nih.gov/16196992
- [8]S.-J. Ran, “Encoding of matrix product states into quantum circuits of one- and two-qubit gates,” Physical Review A, vol. 101, p. 032310, 2020.
- [9]M. S. Rudolph, J. Chen, J. Miller, A. Acharya, and A. Perdomo-Ortiz, “Decomposition of matrix product states into shallow quantum circuits,” Quantum Science and Technology, vol. 9, no. 1, p. 015012, 2024.arxiv.org/abs/2209.00595
- [10]M. Ben-Dov, D. Shnaiderov, A. Makmal, and E. G. Dalla Torre, “Approximate encoding of quantum states using shallow circuits,” npj Quantum Information, vol. 10, p. 65, 2024.DOI
- [11]S. Brayvi, S. Sheldon, A. Kanda, D. C. McKay, and J. M. Gambetta, “Mitigating measurement errors in multiqubit experiments,” Physical Review A, vol. 103, p. 042605, 2021.
- [12]P. D. Nation, K. Kang, N. Sundaresan, and J. M. Gambetta, “Scalable mitigation of measurement errors on quantum computers,” PRX Quantum, vol. 2, p. 040326, 2021.DOI
- [13]A. Javadi-Abhari, M. Treinish, K. Kruslich, C. J. Wood, J. Lishman, J. Gacon, S. Martiel, P. D. Nation, L. S. Bishop, A. W. Cross, B. R. Johnson, and J. M. Gambetta, “Quantum computing with Qiskit,” 2024, arXiv:2405.08810.
- [14]N. Ezzell, B. Pokharel, L. Tewala, G. Quiroz, and D. A. Lidar, “Dynamical decoupling for superconducting qubits: a performance survey,” Physical Review Applied, vol. 20, p. 064207, 2023.DOI



