Skip to main content
QUICK REVIEW

[Paper Review] Quantum++ - A C++11 quantum computing library

Vlad Gheorghiu|arXiv (Cornell University)|Dec 15, 2014
Quantum Computing Algorithms and ArchitectureComputer Science1 references6 citations
TL;DR

Quantum++ is a modern, header-only C++11 quantum computing library designed for general-purpose quantum simulation with support for arbitrary quantum systems and processes. It emphasizes ease of use, portability, and performance through multi-threading and template-based abstractions, enabling efficient simulation of diverse quantum information tasks beyond qubit systems.

ABSTRACT

Quantum++ is a modern general-purpose multi-threaded quantum computing library and simulator written in C++11 and composed solely of header files. The library is not restricted to qubit systems or specific quantum information processing tasks, being capable of simulating arbitrary quantum processes. The main design factors taken in consideration were the ease of use, portability, and performance.

Motivation & Objective

  • To develop a general-purpose quantum computing library that supports arbitrary quantum systems, not limited to qubit-based models.
  • To ensure high performance and scalability through modern C++11 features and multi-threading support.
  • To improve usability and portability by implementing the entire library as header-only files, reducing setup complexity.

Proposed method

  • The library is implemented entirely in C++11 header files, enabling seamless integration and portability across platforms.
  • It uses template metaprogramming and expression templates to optimize matrix and state operations at compile time.
  • Quantum++ supports arbitrary-dimensional Hilbert spaces, allowing simulation of qudits and composite quantum systems.
  • The library employs multi-threading via standard C++11 threading facilities to accelerate computationally intensive operations.
  • It provides high-level abstractions for quantum gates, state preparation, measurement, and quantum process tomography.
  • The design avoids external dependencies, ensuring lightweight deployment and broad compatibility.

Experimental results

Research questions

  • RQ1How can a quantum computing library be designed to support arbitrary quantum systems beyond qubit-based models?
  • RQ2What C++11 features can be leveraged to achieve high performance and maintainability in quantum simulation?
  • RQ3To what extent can a header-only library achieve both usability and efficient performance in quantum computing applications?
  • RQ4How does multi-threading integration affect the runtime efficiency of quantum state evolution and measurement operations?

Key findings

  • Quantum++ successfully enables simulation of arbitrary quantum processes, including qudit systems and multi-partite entangled states, without restricting to qubit-only models.
  • The header-only design ensures high portability and ease of integration into existing C++ projects with minimal setup overhead.
  • The use of C++11 templates and expression templates allows for efficient compile-time optimization of quantum operations.
  • Multi-threading support improves performance on multi-core systems, particularly for large-scale quantum state vector simulations.
  • The library demonstrates strong performance characteristics due to zero runtime dependencies and efficient memory management.
  • It provides a flexible and extensible framework suitable for both research prototyping and educational purposes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.