Skip to main content
QUICK REVIEW

[Paper Review] QLib - A Matlab Package for Quantum Information Theory Calculations with Applications

Shai Machnes|ArXiv.org|Aug 3, 2007
Quantum Computing Algorithms and ArchitectureComputer Science11 citations
TL;DR

QLib is a free, open-source MATLAB package designed for quantum information theory (QIT) calculations, offering comprehensive tools for manipulating quantum states, operators, and entanglement measures. It enables intuitive exploration of quantum systems through parametrization, optimization, and visualization, with key results demonstrating non-additivity of relative entanglement and the failure of naive Bloch sphere generalizations in higher dimensions.

ABSTRACT

Developing intuition about quantum information theory problems is difficult, as is verifying or ruling-out of hypothesis. We present a Matlab package intended to provide the QIT community with a new and powerful tool-set for quantum information theory calculations. The package covers most of the "QI textbook" and includes novel parametrization of quantum objects and a robust optimization mechanism. New ways of re-examining well-known results is demonstrated. QLib is designed to be further developed and enhanced by the community and is available for download at www.qlib.info

Motivation & Objective

  • To address the difficulty in developing intuition for complex quantum information problems involving multipartite systems and non-trivial entanglement.
  • To provide a computational framework that accelerates hypothesis testing, counterexample finding, and analytical validation in quantum information theory.
  • To enable researchers to explore and verify quantum information concepts through numerical experimentation, simulation, and optimization.
  • To foster a community-driven development model for continuous enhancement of QIT software tools.

Proposed method

  • QLib provides parametrization of quantum objects—including density matrices, pure states, separable states, unitary and Hermitian matrices—using mathematical representations based on SU(n) generators and convex combinations of extremal points.
  • It implements robust numerical optimization via alternating hill-climbing and simulated annealing, with consistency checks to locate global extrema in complex parameter spaces.
  • The package supports a wide array of quantum information measures: entanglement (concurrence, negativity, tangle), entropy (Von Neumann, linear, relative), fidelity, trace distance, and Bures metrics.
  • QLib enables transformation between tensor and regular representations, facilitates partial trace and transpose operations, and supports POVM and weak measurement simulations.
  • It includes general-purpose utilities for linear algebra, numerical cleanup (e.g., removing tiny imaginary parts), and 2D/3D visualization of noisy or sparse data.
  • The software uses a GPL license to encourage community contributions, with tools like forums, bug tracking, and feature request systems to support collaborative development.

Experimental results

Research questions

  • RQ1Can a computational tool significantly improve intuition and accelerate hypothesis testing in quantum information theory?
  • RQ2To what extent can numerical optimization in QLib reliably locate global extrema in quantum state parameter spaces?
  • RQ3Is the naive generalization of the Bloch sphere valid for qudit systems beyond qubits?
  • RQ4How additive are entanglement and entropy measures like relative entanglement across composite systems?
  • RQ5Can QLib’s parametrization of separable states via extremal pure states and probability distributions enable accurate computation of non-additive measures?

Key findings

  • QLib successfully demonstrates that the naive generalization of the Bloch sphere to higher-dimensional systems (e.g., SU(3), SU(4)) fails, as shown by scatter plots revealing complex, non-spherical geometry in the parameter space.
  • Numerical optimization in QLib reliably locates global extrema in most tested cases, validating its utility for extremal problems in quantum information.
  • The relative entanglement measure $ E_R $ is found to be super-additive, with $ E_R( ho_1 imes ho_2) > E_R( ho_1) + E_R( ho_2) $, confirming known non-additivity and supporting the hypothesis through extensive sampling.
  • QLib enables efficient generation of random separable states and pure states via convex combinations of extremal points, validated through parametrization based on Carathéodory’s theorem.
  • The package successfully reproduces and re-examines well-known results, such as bounds on superposition entanglement, with improved numerical insight.
  • QLib’s visualization tools reveal that separable states and pure states occupy distinct, non-convex regions in the Bloch hyper-sphere, highlighting the complexity of quantum state geometry beyond qubits.

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.