Quantum computers may solve some problems far beyond the reach of classical digital computers. However, emerging quantum systems are typically noisy and difficult to control. These noises create significant difficulties for the practical usage of quantum systems, leaving a substantial gap between the requirements of quantum applications and the realities of noisy devices. Bridging this gap is crucial – the dissertation shows that the system software can adapt to the constraints of large applications and noisy hardware. In particular, this dissertation combines systems techniques at three main levels: i. Gate-level noise mitigation, which enhances the robustness of quantum processors through coordinated control instructions that reduce errors; ii. Program-level quantum memory management, which addresses problems of qubit allocation throughout a quantum program and implements automated tools to selectively reuse qubits, much like in garbage collection for classical programs; iii. Architecture-level quantum error correction with low overhead, which seeks to provide correctness guarantees for quantum applications by encoding quantum bits so that errors can be detected and corrected, analogous to classical error-correcting codes.
Quantum computers may solve some problems far beyond the reach of classical digital computers. However, emerging quantum systems are typically noisy and difficult to control. These noises create significant difficulties for the practical usage of quantum systems, leaving a substantial gap between the requirements of quantum applications and the realities of noisy devices. Bridging this gap is crucial – the dissertation shows that the system software can adapt to the constraints of large applications and noisy hardware. In particular, this dissertation combines systems techniques at three main levels: i. Gate-level noise mitigation, which enhances the robustness of quantum processors through coordinated control instructions that reduce errors; ii. Program-level quantum memory management, which addresses problems of qubit allocation throughout a quantum program and implements automated tools to selectively reuse qubits, much like in garbage collection for classical programs; iii. Architecture-level quantum error correction with low overhead, which seeks to provide correctness guarantees for quantum applications by encoding quantum bits so that errors can be detected and corrected, analogous to classical error-correcting codes.
Quantum computing has the potential to revolutionize computation by leveraging phenomena such as superposition and entanglement. However, this potential is limited in practice by quantum noise, which introduces errors and uncertainty in current devices. This directly impacts the reliability of quantum software, making effective quantum software testing both essential and challenging. While existing quantum testing approaches adapt classical techniques, they largely rely on noise-free simulators and are therefore not reliably applicable to real computers, and often remain incompatible with modern quantum algorithms and error mitigation methods. This thesis addresses these limitations by investigating how quantum software testing can be made practical and reliable on real quantum computers. We identify key challenges in handling noise and in closing the gap between existing testing methodologies and recent advances in quantum computing. To enable testing under realistic conditions, we propose machine learning–based techniques, including QOIN and Q-LEAR, to reduce the impact of noise on test outcomes, allowing existing testing methods to be applied on real computers. We further introduce supporting tools such as QUIET and STGP to improve scalability and enhance noise modeling. In addition, we explore the integration of quantum components into classical testing scenarios, demonstrating applicability in hybrid systems. Extensive empirical evaluations across multiple platforms and real-world programs show significant mprovements in test reliability under noise. Furthermore, with QOPS and SB-QOPS, we propose a novel testing paradigm tailored for noisy quantum computers. Our approaches, QOPS and SB-QOPS, redefine test cases using Pauli strings, adopt expectation value–based oracles compatible with error mitigation techniques, and incorporate search-based strategies for efficient test generation. These methods support a broader class of programs, reduce dependence on complete specifications, and explicitly account for noise during testing. Large-scale studies, including experiments on real quantum hardware, demonstrate their effectiveness and scalability. Overall, this thesis advances quantum software testing by bridging the gap between theoretical methods and practical deployment on real quantum computers, enabling more reliable fault detection in the presence of quantum noise and laying a foundation for testing in the noisy quantum era.
The emergence of noisy intermediate-scale quantum (NISQ) devices represents a significant milestone in the journey towards the development of large-scale fault tolerant quantum computers. These devices have not only opened avenues for demonstrating a quantum advantage but have also advanced the practical development of quantum algorithms for solving challenging problems in physics, chemistry, and computer science. Most notably, this progress has necessitated a tailored approach to algorithm development that considers the specific architecture and hardware constraints of these quantum devices in order to effectively use them. However, the most useful instances of problems that we hope to solve with quantum computers require significant hardware improvements over the state-of-the-art, including at least a hundred fold increase in the number of qubits. The transition from intermediate-scale to large-scale quantum computers also presents other formidable challenges, particularly for engineering precise quantum control at scale. This thesis attempts to narrow the gap between intermediate and large-scale devices by proposing methods to mitigate noise effects on NISQ devices and by enhancing standard quantum algorithms to minimize resource overhead. One focus is on error correction strategies capable of managing noise on quantum devices. Specifically, we demonstrate the robustness of the sweep rule (a decoder for topological quantum codes) against measurement errors in quantum codes. Additionally, we experimentally demonstrate the improvement in performance of entangling non-Clifford operations when encoded in the [[8,3,2]] code, strengthening the case for error correction. Furthermore, we improve a well-known technique known as imaginary time evolution to reduce the associated qubit and entangling gate overhead, making it more amenable to implementation on NISQ devices. By exploring these avenues, we aim to strike a balance, leveraging NISQ devices to expand their computational capabilities in the short term while serving as a sandbox for the development of future large-scale fault-tolerant quantum computers.
Quantum computing is positioned to be a transformative technology to key areas of scientific interest such as quantum chemistry, material science, and cryptography. At a hardware level, recent years have seen broad progress in a variety of qubit modalities, however, error rates are still orders of magnitude higher than what is necessary for large-scale quantum programs. This gap in error rates motivates the use of quantum error correction (QEC) and the realization of fault-tolerant quantum computing (FTQC), yet today, although the theory of FTQC is promising, effectively connecting it to real devices poses significant challenges. In this dissertation we study opportunities for more efficient and scalable FTQC architectures through the co-design of quantum hardware and software. We first look at how unique hardware capabilities in quantum computers made from 2D arrays of optically trapped atoms can improve QEC performance. For computation, we study how longer-range interactions between atoms can enable a novel embedding of QEC blocks on physical qubits that improves logical-level connectivity. For memory, we study how mid-circuit movement of atoms can effectively implement higher encoding rate QEC codes, creating a qubit-efficient memory system. We next consider the performance impact of real-time classical systems in FTQC architectures, and explore the use of speculation to improve large-scale decoding systems. Finally, we study how software systems can be used to improve QEC designs. We consider the problem of QEC circuit optimization, and study an automated approach based on iterative optimization of performance-reducing subcircuits.
The transition from noisy intermediate-scale quantum (NISQ) processors to large-scale fault-tolerant machines requires more than incremental improvements in physical qubit fidelity. While advances in quantum error correction (QEC) theory continue to lower the theoretical overhead of quantum computing, much of this research remains abstracted from the physical realities of qubit implementations. This disconnect often results in hardware-agnostic designs that are inefficient or impractical to build. In this dissertation, I identify three primary gaps between theoretical QEC research and practical hardware: (1) the high levels of noise and temporal instability in experimental devices that impede scalable QEC; (2) the prohibitively large qubit and time costs of useful algorithms, driven largely by the limitations of the standard surface code; and (3) the failure of current resource estimates to account for hardware-level constraints, such as limited connectivity and the complexity of implementing non-local operations. To bridge these gaps, I propose a holistic, cross-stack approach where the error correction protocols and the physical hardware are designed in concert. By developing realistic device models and hardware-aware solutions at the lowest levels of the software stack, we can accelerate the path toward functional fault-tolerance. I present my work across three research thrusts: first, leveraging codesign to mitigate hardware-specific noise and reduce physical error rates; second, developing software tools for fault-tolerant quantum computers to reduce the space-time overhead of the QEC layer; and third, proposing two novel hardware-aware QEC architectures that provide practical, high-performance routes to scalable quantum computation.
Study of the Issue Quantum error correction (QEC) is crucial yet incurs significant qubit overhead costs. The current QEC codes lack sufficient efficiency for near-term devices. The current generation of NISQ devices, which often rely on delicate nanostructured qubit architectures, is prone to noise, decoherence, and gate faults, which severely limit their computing capability and scalability. While traditional quantum error correction codes, such as the surface code, are theoretically resilient, they often require significant qubit overhead and complex management systems that exceed the hardware capabilities of NISQ-era devices. This raises the question of whether new, resource-efficient QEC strategies or hybrid error mitigation approaches can be tailored to the limits of nanostructured NISQ designs. This document examines the constraints of existing quantum error correction (QEC) codes, which are crucial for preserving the fidelity of quantum computations yet require substantial qubit resources. This study examines the shortcomings of current Quantum Error Correction (QEC) codes in relation to Noisy Intermediate-Scale Quantum (NISQ) devices and explores alternative strategies to create more efficient, low-overhead QEC frameworks appropriate for imminent quantum technologies.
Practical realizations of quantum computers are poised to deliver outstanding computational capabilities far beyond the reach of any classical supercomputer. While classical systems are reliably implemented using CMOS technology, the fabrication of quantum hardware has not yet reached a commercially viable level of maturity. Nowadays, many different technologies are being developed as competing candidates to build the first error-corrected quantum computer. Among the software resources required to operate such a system, quantum compilers translate a high-level description of a quantum algorithm into low-level, technology-dependent quantum instructions. Many quantum algorithms, including Shor's and Grover's algorithms, require to compute some classical logic functions on the quantum computer. The first part of this thesis deals with the problem of compiling quantum circuits that perform such classical Boolean functions, called oracles, into a fault-tolerant set of instructions. Oracle circuits often demand many resources in terms of the number of qubits and gates. The focus is on compiling quantum circuits starting from multi-level logic networks representing large Boolean functions while minimizing the resource footprint of the obtained quantum circuits. At the same time, the trade-off between memory resources and the number of operations typical of such a compilation process is explored. As part of the effort in reducing the resources required to perform a given quantum program, I also present some quantum circuit optimization techniques. The researched algorithms leverage data structures and techniques borrowed and adapted from classical logic synthesis, e.g., SAT solvers, LUT mapping, and multi-level logic networks. I implemented all the compilation algorithms presented in this thesis as part of open-source projects. In particular, I develop and maintain caterpillar---a C++ header-only library dedicated to the quantum compilation of oracles and quantum memory management. The second part of this thesis describes how to equip quantum programming language compilers with automatic accuracy management. Despite the availability of many of such languages, resource estimation of quantum algorithms does not yet support taking approximation errors into account. This general methodology is applicable to any programming language and I demonstrate its integration into the Q# compiler. The technique consists of providing language support to ease the accuracy-aware programming task. The user can define accuracy parameters that will be automatically optimized according to a constraint and a cost function directly generated from the source code. In the presented practical evaluations, the constraint function is the overall allowed accuracy, while the cost function is application-dependent and related to the number of gates. During the optimization process, such functions are evaluated hundreds of times. For this reason, we extract them as (near-)symbolic expressions, whose evaluation time does not depend on the quantum algorithm size. The algorithms and the methodologies presented in this thesis are part of a widespread effort of the research community to build a complete and efficient software stack to program and control the first practical universal quantum computer.