Oak Ridge Lab’s code profiles quantum routines at scale

Researchers at Oak Ridge National Laboratory have released Disentanglers.jl, a new software package that unifies state preparation, circuit compilation and the optimization of density operator representation complexity within a tensor network formalism. The package efficiently represents quantum states by truncating small contributions to many-body entanglement and recording approximation errors. By providing this unified framework, the team can quickly evaluate and profile the performance of diverse quantum subroutines across multiple application areas. The work describes salient algorithms and empirical scaling results, with plans to extend the software’s capabilities and performance further.

Tensor Networks and Disentangling Isometries for Quantum States

The ability to reduce correlations within tensor network representations is now facilitated by new software, with the framework employing isometries, semi-unitary transformations, to minimize entanglement entropy. These isometries, represented by matrices with dimensions scaling by the square of the qudit dimension, demonstrate increased expressive capacity for disentangling quantum states. The software allows for the evaluation of how effectively different algorithms reduce entropy while also tracking the impact on memory usage, as reducing entropy does not always guarantee compression.

This approach has already seen application across multiple quantum computing areas, including the compilation of Matrix Product States (MPS) for execution on quantum devices. Disentangling algorithms also compress unitary circuits, leading to shallower circuit depths and potentially more efficient quantum computations.

More recently, these strategies have been used to optimize Locally Purified Density Operators (LPDOs), a method for efficiently encoding mixed quantum states, expanding the range of quantum states that can be represented and manipulated. Benchmarking involved disentangling ground states of a Hamiltonian at J/h = 5, revealing that qudit ground states, except for S = 1/2, could be disentangled using a single layer of circuits.

The software profiles the performance of these disentangling algorithms when applied to MPS, MPOs and LPDOs, demonstrating practical benefits in quantum circuit compilation and dynamics compression. Specifically, the conjugate transpose of unitaries resulting from disentangling MPS representations can be used to prepare target states on quantum hardware.

Similarly, disentangling MPOs yields unitaries that further compress the dynamics they encode. Researchers note, “Small contributions to the many-body entanglement can be truncated and the resulting approximation errors recorded.” The framework’s ability to quickly evaluate and compare different subroutines offers a valuable tool for the wider quantum computing community, enabling more informed decisions about algorithm selection and optimization.

Disentanglers.jl: Unifying State Preparation, Compilation, and Optimization

The software package Disentanglers.jl offers a unified approach to several key areas of quantum computing, including state preparation, circuit compilation, and optimizing the complexity of locally purified density operator representations. This consolidation is notable because these tasks are typically addressed with separate tools and techniques, creating inefficiencies in workflow and analysis. The framework uses a tensor network formalism to efficiently manage quantum states, allowing researchers to assess the performance of different computational subroutines within a single environment.

Disentanglers.jl profiles the effectiveness of algorithms designed to map many-body quantum states, represented as matrix product states (MPS), into product states. This process, achieved through disentangling algorithms, yields circuits that can be used to prepare MPS ground states on quantum computers. The software evaluates metrics such as the number of initializations needed for successful disentanglement, average layer count of the resulting circuits, and the computational time required. Analysis of von Neumann entropy, both before and after optimization, reveals how effectively these algorithms reduce entanglement within the system.

Riemannian Manifold Optimization of Tensor Network Entropy

The optimization of tensor network representations benefits from a geometric approach, as demonstrated by algorithms that minimize entropy while simultaneously managing virtual bond dimension. This detailed performance is revealed through profiling within the newly released software, where researchers assessed the effectiveness of different disentangling algorithms. The software’s ability to minimize entropy is achieved by searching for an optimal isometry within a defined manifold, a concept borrowed from differential geometry.

The core of this optimization lies in objective functions like the second-Renyi entropy, computed through a non-trivial contraction process. By employing this metric, the software identifies isometries that minimize the entropy associated with a tensor network representation, effectively streamlining the search for an optimal unitary. The action of the disentangling isometry reduces the entropy associated with the singular values of the virtual bond χ, potentially resulting in a compressed representation with χ′ < χ.

Tensor Sketch and Environment-Based Disentangling Algorithms

The Julia package Disentanglers. jl implements several disentangling algorithms, including Riemannian manifold-, tensor sketch-, and environment-based approaches. Evaluations encompass random normalized tensors, matrix product states representing qubits and qudits, and matrix product operators encoding the dynamics of different Hamiltonians. The utility of these disentangling algorithms extends to practical applications within quantum computing workflows. Disentangling matrix product states, for example, yields unitaries that can be used for quantum circuit compilation, specifically enabling the preparation of target states on a quantum device using their conjugate transposes.

Researchers state, “To demonstrate the utility of the disentangling algorithms, we present strategies and profile their capability to disentangle/optimize tensor network representations such as the MPSs, MPOs and LPDOs.” This capability to profile and compare algorithms across these different representations positions the package as a valuable tool for the computing community.

Profiling Disentangling Algorithms on Random Normalized Tensors

Evaluations began with random normalized four-indexed tensors, allowing for benchmarking of each algorithm’s performance in disentanglement scenarios. This approach enables accurate profiling of performance differences between Riemannian, tensor-sketch and Evenbly-Vidal disentangling algorithms. Within Disentanglers. jl, multiple entropy-based objective functions were implemented, with the alpha-Renyi entropy, calculated as 1/(1-α) log(sum_is_i^(2α)), used to measure correlations within the network. Minimizing this entropy is a key goal of the disentangling process.

Findings indicate that Riemannian disentanglers, when paired with Trust Regions and Quasi Newton solvers, generally outperform alternative methods. However, this improved performance comes at the cost of increased computational resources. The team’s analysis reveals that Riemannian disentanglers demonstrate greater efficiency in reducing entropy, while simultaneously evaluating computation time required to minimize the objective functions.

Disentangling Algorithms Applied to Qubit/Qudit Matrix Product States

The software framework detailed by researchers allows for evaluation of algorithms disentangling random normalized tensors, a key step in assessing performance across diverse quantum applications. Initial tests focused on these tensors to establish a baseline for disentangling capabilities before moving to more complex quantum states, providing a standardized method for comparison. This approach facilitates a systematic understanding of how different algorithms handle varying levels of entanglement, important for optimizing quantum computations. Beyond random tensors, the framework profiles algorithms designed to disentangle matrix product states (MPS) and matrix product operators (MPO) representing quantum system dynamics.

Compressing Matrix Product Operators with Disentangling Methods

The framework successfully disentangles matrix product operators (MPOs), offering a method to further compress their representation and reduce computational demands. This compression is achieved through disentangling strategies applied to MPOs, a technique that has also proven useful in compiling matrix product state (MPS) representations for execution on quantum devices. By profiling algorithms designed to disentangle MPS and MPOs, researchers can gain insights into their strengths and weaknesses, informing the selection of the most appropriate method for a given task.

Optimizing Locally Purified Density Operator Representations

This integration allows for rapid evaluation of diverse subroutines and detailed performance profiling across each application, a capability previously requiring separate tools and workflows. Recent work demonstrates the utility of these algorithms in optimizing tensor network representations, specifically Locally Purified Density Operators, which efficiently encode mixed quantum states.

These states, characterized by physical indices and both coherent and mixture correlations encoded in virtual indices, are important for modeling complex quantum systems. The team outlines strategies for improving the algorithms and identifying opportunities for applying them in other applications, suggesting ongoing development and expansion of the software’s capabilities.

👉 More information
🗞 Disentanglers.jl — Algorithms, Applications, and Profiling at Scale
✍️ Amit Jamadagni and Eugene Dumitrescu (Computational Sciences and Engineering Division, Oak Ridge National Laboratory, Oak Ridge, Tennessee, USA)
🧠 ArXiv: https://arxiv.org/html/2612.06071v1

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Ivy Delaney

Ivy Delaney

Ivy Delaney has been working with neural networks and machine learning since the mid-nineties, back when a couple of hidden layers and a long afternoon of training counted as ambitious. She has watched the field go from academic curiosity to the thing quietly running underneath everything, and she brings that long view to quantum computing. For Quantum Zeitgeist she covers the ground where the two fields meet. That means quantum machine learning and the variational algorithms it leans on, and it also means the less glamorous but more interesting story of classical machine learning already doing real work inside quantum machines, decoding error-correcting codes, calibrating noisy hardware and learning the error models that simulators depend on. She writes about the hardware those algorithms have to run on too, and about the post-quantum cryptography scramble that the same hardware has set off. Her stories typically start with the paper, whether that is peer-reviewed work, conference proceedings or an arXiv preprint, with the source linked so you can hold a claim up against the research it came from. She is unimpressed by benchmarks that will not say what they beat, and by demonstrations that only work in the press release.

Latest Posts by Ivy Delaney: