Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Quantum dimension reduction of hidden Markov models

Rishi Sundar1,2 and Thomas J. Elliott1,3,2

Phys. Rev. A 113, 062461 – Published 25 June, 2026

DOI: https://doi.org/10.1103/plt9-cm1x

Abstract

Hidden Markov models (HMMs) are ubiquitous in time-series modeling, with applications ranging from chemical reaction modeling to speech recognition. These HMMs are often large, with high-dimensional memories. A recently proposed application of quantum technologies is to execute quantum analogs of HMMs. Such quantum HMMs (QHMMs) are strictly more expressive than their classical counterparts, enabling the construction of more parsimonious models of stochastic processes. However, state-of-the-art techniques for QHMM compression, based on tensor networks, are only applicable for a restricted subset of HMMs, where the transitions are deterministic. In this work we introduce a pipeline by which any finite, ergodic HMM can be compressed in this manner, providing a route for effective quantum dimension reduction of general HMMs. We demonstrate the method on both a simple toy model, and on a speech-derived HMM trained from data, obtaining favorable memory-accuracy tradeoffs in the examples studied, relative to a simple classical state-merging baseline.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (67)

  1. L. Rabiner and B. Juang, An introduction to hidden Markov models, IEEE ASSP Mag. 3, 4 (1986).
  2. C. R. Shalizi and J. P. Crutchfield, Computational mechanics: Pattern and prediction, structure and simplicity, J. Stat. Phys. 104, 817 (2001).
  3. L. R. Rabiner, A tutorial on hidden Markov models and selected applications in speech recognition, Proc. IEEE 77, 257 (1989).
  4. P. Baldi, Y. Chauvin, T. Hunkapiller, and M. A. McClure, Hidden Markov models of biological primary sequence information., Proc. Natl. Acad. Sci. USA 91, 1059 (1994).
  5. Z. Ghahramani and M. I. Jordan, Factorial hidden Markov models, in Advances in Neural Information Processing Systems (MIT Press, Cambridge, MA, 1996), pp. 472–478.
  6. S. Fine, Y. Singer, and N. Tishby, The hierarchical hidden Markov model: Analysis and applications, Mach. Learn. 32, 41 (1998).
  7. K. Seymore, A. McCallum, and R. Rosenfeld, Learning hidden Markov model structure for information extraction, in AAAI-99 Workshop on Machine Learning for Information Extraction (AAAI Press, Washington, DC, 1999), pp. 37–42.
  8. A. Krogh, B. Larsson, G. Von Heijne, and E. L. Sonnhammer, Predicting transmembrane protein topology with a hidden Markov model: Application to complete genomes, J. Mol. Biol. 305, 567 (2001).
  9. M. Stanke and S. Waack, Gene prediction with a hidden Markov model and a new intron submodel, Bioinformatics 19, ii215 (2003).
  10. C. Karlof and D. Wagner, Hidden Markov model cryptanalysis, in International Workshop on Cryptographic Hardware and Embedded Systems (Springer, Berlin, 2003), pp. 17–34.
  11. R. Bhar and S. Hamori, Hidden Markov Models: Applications to Financial Economics (Springer, New York, 2004), Vol. 40.
  12. S. Gammelmark, K. Mølmer, W. Alt, T. Kampschulte, and D. Meschede, Hidden Markov model of atomic quantum jump dynamics in an optically probed cavity, Phys. Rev. A 89, 043839 (2014).
  13. P. Warden, Speech commands: A dataset for limited-vocabulary speech recognition, arXiv:1804.03209.
  14. A. Stolcke and S. M. Omohundro, Best-first model merging for hidden Markov model induction, arXiv:cmp-lg/9405017.
  15. A. Stolcke and S. M. Omohundro, Best-first model merging for hidden Markov model induction, ICSI Technical Report TR-94-003 (International Computer Science Institute, Berkeley, CA, 1994).
  16. P. Dupont, F. Denis, and Y. Esposito, Links between probabilistic automata and hidden Markov models: Probability distributions, learning models and induction algorithms, Pattern Recognit. 38, 1349 (2005).
  17. P. Dupont, Probabilistic DFA inference using Kullback-Leibler divergence and Alergia, in Proceedings of the International Conference on Machine Learning (ICML) (ACM Press, New York, 2000).
  18. S. Singh, M. R. James, and M. R. Rudary, Predictive state representations: A new theory for modeling dynamical systems, arXiv:1207.4167.
  19. M. Gu, K. Wiesner, E. Rieper, and V. Vedral, Quantum mechanics can reduce the complexity of classical models, Nat. Commun. 3, 762 (2012).
  20. J. R. Mahoney, C. Aghamohammadi, and J. P. Crutchfield, Occam's quantum strop: Synchronizing and compressing classical cryptic processes via a quantum channel, Sci. Rep. 6, 20495 (2016).
  21. P. M. Riechers, J. R. Mahoney, C. Aghamohammadi, and J. P. Crutchfield, Minimized state complexity of quantum-encoded cryptic processes, Phys. Rev. A 93, 052317 (2016).
  22. C. Aghamohammadi, S. P. Loomis, J. R. Mahoney, and J. P. Crutchfield, Extreme quantum memory advantage for rare-event sampling, Phys. Rev. X 8, 011025 (2018).
  23. F. C. Binder, J. Thompson, and M. Gu, Practical unitary simulator for non-Markovian complex processes, Phys. Rev. Lett. 120, 240502 (2018).
  24. Q. Liu, T. J. Elliott, F. C. Binder, C. Di Franco, and M. Gu, Optimal stochastic modeling with unitary quantum dynamics, Phys. Rev. A 99, 062110 (2019).
  25. T. J. Elliott, Memory compression and thermal efficiency of quantum implementations of nondeterministic hidden Markov models, Phys. Rev. A 103, 052615 (2021).
  26. S. Adhikary, S. Srinivasan, J. Miller, G. Rabusseau, and B. Boots, Quantum tensor networks, stochastic processes, and weighted automata, in International Conference on Artificial Intelligence and Statistics (PMLR, New York, 2021), pp. 2080–2088.
  27. T. J. Elliott, M. Gu, A. J. P. Garner, and J. Thompson, Quantum adaptive agents with efficient long-term memories, Phys. Rev. X 12, 011007 (2022).
  28. M. Zonnios, A. Boyd, and F. Binder, Quantum generation of stochastic processes: Spectral invariants and memory bounds, New J. Phys. 27, 064507 (2025).
  29. P. M. Riechers and T. J. Elliott, Identifiability and minimality bounds of quantum and post-quantum models of classical stochastic processes, arXiv:2509.03004.
  30. M. Schuld and F. Petruccione, Quantum advantages, in Supervised Learning with Quantum Computers, Quantum Science and Technology (Springer, Cham, 2018), pp. 127–137.
  31. C. Yang, F. C. Binder, V. Narasimhachar, and M. Gu, Matrix product states for quantum stochastic modeling, Phys. Rev. Lett. 121, 260602 (2018).
  32. C. Yang, M. Florido-Llinàs, M. Gu, and T. J. Elliott, Dimension reduction in quantum sampling of stochastic processes, npj Quantum Inf. 11, 34 (2025).
  33. L. Vanderstraeten, J. Haegeman, and F. Verstraete, Tangent-space methods for variational optimization of uniform matrix product states, SciPost Phys. Lect. Notes 7 (2019).
  34. S. Srinivasan, G. Gordon, and B. Boots, Learning hidden quantum Markov model, arXiv:1710.09016.
  35. D. Pérez-García, F. Verstraete, M. M. Wolf, and J. I. Cirac, Matrix product state representations, Quantum Inf. Comput. 7, 401 (2007).
  36. A. Khintchine, Korrelationstheorie der stationären stochastischen Prozesse, Math. Ann. 109, 604 (1934).
  37. J. P. Crutchfield, Between order and chaos, Nat. Phys. 8, 17 (2012).
  38. D. R. Upper, Theory and algorithms for hidden Markov models and generalized hidden Markov models, Ph.D. thesis, University of California, Berkeley, 1997.
  39. J. P. Crutchfield and K. Young, Inferring statistical complexity, Phys. Rev. Lett. 63, 105 (1989).
  40. J. P. Crutchfield, The calculi of emergence: Computation, dynamics and induction, Phys. D (Amsterdam) 75, 11 (1994).
  41. J. P. Crutchfield and D. P. Feldman, Statistical complexity of simple one-dimensional spin systems, Phys. Rev. E 55, R1239 (1997).
  42. W. Löhr and N. Ay, Non-sufficient memories that are sufficient for prediction, in International Conference on Complex Sciences (Springer, Berlin, 2009), pp. 265–276.
  43. J. B. Ruebeck, R. G. James, J. R. Mahoney, and J. P. Crutchfield, Prediction and generation of binary Markov processes: Can a finite-state fox catch a Markov mouse? Chaos 28, 013109 (2018).
  44. M. S. Palsson, M. Gu, J. Ho, H. M. Wiseman, and G. J. Pryde, Experimentally modeling stochastic processes with less memory by the use of a quantum processor, Sci. Adv. 3, e1601302 (2017).
  45. F. Ghafari, N. Tischler, J. Thompson, M. Gu, L. K. Shalm, V. B. Verma, S. W. Nam, R. B. Patel, H. M. Wiseman, and G. J. Pryde, Dimensional quantum memory advantage in the simulation of stochastic processes, Phys. Rev. X 9, 041013 (2019).
  46. F. Ghafari, N. Tischler, C. Di Franco, J. Thompson, M. Gu, and G. J. Pryde, Interfering trajectories in experimental quantum-enhanced stochastic simulation, Nat. Commun. 10, 1630 (2019).
  47. K.-D. Wu, C. Yang, R.-D. He, M. Gu, G.-Y. Xiang, C.-F. Li, G.-C. Guo, and T. J. Elliott, Implementing quantum dimensionality reduction for non-Markovian stochastic simulation, Nat. Commun. 14, 2624 (2023).
  48. A. Monras, A. Beige, and K. Wiesner, Hidden quantum Markov models and non-adaptive read-out of many-body states, arXiv:1002.2337.
  49. A. Monràs and A. Winter, Quantum learning of classical stochastic processes: The completely positive realization problem, J. Math. Phys. 57, 015219 (2016).
  50. M. Fanizza, J. Lumbreras, and A. Winter, Quantum theory in finite dimension cannot explain every general process with finite memory, Commun. Math. Phys. 405, 50 (2024).
  51. A. J. P. Garner, Q. Liu, J. Thompson, V. Vedral, and M. Gu, Provably unbounded memory advantage in stochastic simulation using quantum mechanics, New J. Phys. 19, 103009 (2017).
  52. C. Aghamohammadi, J. R. Mahoney, and J. P. Crutchfield, Extreme quantum advantage when simulating classical systems with long-range interaction, Sci. Rep. 7, 6735 (2017).
  53. T. J. Elliott and M. Gu, Superior memory efficiency of quantum devices for the simulation of continuous-time stochastic processes, npj Quantum Inf. 4, 18 (2018).
  54. T. J. Elliott, A. J. P. Garner, and M. Gu, Memory-efficient tracking of complex temporal and symbolic dynamics with quantum simulators, New J. Phys. 21, 013021 (2019).
  55. T. J. Elliott, C. Yang, F. C. Binder, A. J. Garner, J. Thompson, and M. Gu, Extreme dimensionality reduction with quantum modeling, Phys. Rev. Lett. 125, 260501 (2020).
  56. T. J. Elliott, Quantum coarse graining for extreme dimension reduction in modeling stochastic temporal dynamics, PRX Quantum 2, 020342 (2021).
  57. T. J. Elliott and M. Gu, Embedding memory-efficient stochastic simulators as quantum trajectories, Phys. Rev. A 109, 022434 (2024).
  58. L. Banchi, Accuracy vs memory advantage in the quantum simulation of stochastic processes, Mach. Learn.: Sci. Technol. 5, 025036 (2024).
  59. S. Srinivasan, S. Adhikary, J. Miller, G. Rabusseau, and B. Boots, Quantum tensor networks, stochastic processes, and weighted automata, arXiv:2010.10653.
  60. C. Yang, F. C. Binder, M. Gu, and T. J. Elliott, Measures of distinguishability between stochastic processes, Phys. Rev. E 101, 062137 (2020).
  61. S. E. Marzen and J. P. Crutchfield, Informational and causal architecture of discrete-time renewal processes, Entropy 17, 4891 (2015).
  62. S. B. Davis and P. Mermelstein, Comparison of parametric representations for monosyllabic word recognition in continuously spoken sentences, IEEE Trans. Acoust. Speech Signal Process. 28, 357 (1980).
  63. D. Sculley, Web-scale K-means clustering, in Proceedings of the 19th International Conference on World Wide Web (WWW) (ACM Press, New York, 2010), pp. 1177–1178.
  64. A. P. Dempster, N. M. Laird, and D. B. Rubin, Maximum likelihood from incomplete data via the EM algorithm, J. R. Stat. Soc. B 39, 1 (1977).
  65. Z.-Y. Han, J. Wang, H. Fan, L. Wang, and P. Zhang, Unsupervised generative modeling using matrix product states, Phys. Rev. X 8, 031012 (2018).
  66. E. M. Stoudenmire, Learning relevant features of data with multi-scale tensor networks, Quantum Sci. Technol. 3, 034003 (2018).
  67. I. Glasser, R. Sweke, N. Pancotti, J. Eisert, and J. I. Cirac, Expressive power of tensor-network factorizations for probabilistic modeling, in Advances in Neural Information Processing Systems 32, edited by H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (Curran Associates, Red Hook, NY, 2019), pp. 1496–1508.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation