Salvato in:
Dettagli Bibliografici
Autori principali: Klymenko, Mykhailo V., Hoang, Thong, Nguyen, Hoa, Wilkinson, Samuel A., Goldozian, Bahar, Zhenchang, Xing, Lu, Qinghua, Usman, Muhammad, Zhu, Liming
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2509.17538
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915863620222976
author Klymenko, Mykhailo V.
Hoang, Thong
Nguyen, Hoa
Wilkinson, Samuel A.
Goldozian, Bahar
Zhenchang, Xing
Lu, Qinghua
Usman, Muhammad
Zhu, Liming
author_facet Klymenko, Mykhailo V.
Hoang, Thong
Nguyen, Hoa
Wilkinson, Samuel A.
Goldozian, Bahar
Zhenchang, Xing
Lu, Qinghua
Usman, Muhammad
Zhu, Liming
contents We present the architectural design and prototype implementation of QUT (Quantum Unit Testing), a framework for unit testing of quantum subroutines. The framework is developed with a focus on usability and simplicity, making the complex theoretical concepts behind quantum unit testing accessible to a wide range of users with diverse backgrounds. This is achieved through the implementation of polymorphic probabilistic assertions, whose evaluation methods adapt to the data types of the arguments used in assertion statements, which may vary according to the context-dependent semantics of quantum subroutines. These arguments can be represented as qubit measurement outcomes, density matrices, or Choi matrices. For each type, the architecture integrates a specific testing protocol - such as quantum process tomography, quantum state tomography, or Pearson's chi-squared test - while remaining flexible enough to incorporate additional protocols in the future. The framework is built on the Qiskit software stack, providing compatibility with a broad range of quantum hardware backends and simulation platforms. Drawing on the reasoning provided by the denotational semantics of quantum subroutines, this work also highlights the key distinctions between quantum unit testing and its classical counterpart.
format Preprint
id arxiv_https___arxiv_org_abs_2509_17538
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle QUT: A Unit Testing Framework for Quantum Subroutines
Klymenko, Mykhailo V.
Hoang, Thong
Nguyen, Hoa
Wilkinson, Samuel A.
Goldozian, Bahar
Zhenchang, Xing
Lu, Qinghua
Usman, Muhammad
Zhu, Liming
Quantum Physics
D.2.4; D.2.5
We present the architectural design and prototype implementation of QUT (Quantum Unit Testing), a framework for unit testing of quantum subroutines. The framework is developed with a focus on usability and simplicity, making the complex theoretical concepts behind quantum unit testing accessible to a wide range of users with diverse backgrounds. This is achieved through the implementation of polymorphic probabilistic assertions, whose evaluation methods adapt to the data types of the arguments used in assertion statements, which may vary according to the context-dependent semantics of quantum subroutines. These arguments can be represented as qubit measurement outcomes, density matrices, or Choi matrices. For each type, the architecture integrates a specific testing protocol - such as quantum process tomography, quantum state tomography, or Pearson's chi-squared test - while remaining flexible enough to incorporate additional protocols in the future. The framework is built on the Qiskit software stack, providing compatibility with a broad range of quantum hardware backends and simulation platforms. Drawing on the reasoning provided by the denotational semantics of quantum subroutines, this work also highlights the key distinctions between quantum unit testing and its classical counterpart.
title QUT: A Unit Testing Framework for Quantum Subroutines
topic Quantum Physics
D.2.4; D.2.5
url https://arxiv.org/abs/2509.17538