Papers
Topics
Authors
Recent
Search
2000 character limit reached

Orkan: Cache-friendly simulation of quantum operations on hermitian operators

Published 17 Apr 2026 in quant-ph | (2604.15765v1)

Abstract: Classical simulation of quantum operations is essential for algorithm design, noise characterisation, and benchmarking of quantum hardware. The most general physically realisable operation can be described by a positive linear map acting on a hermitian operator, representing either a density matrix or an observable. Established simulators vectorise the density matrix on an $n$-qubit Hilbert space and reuse state-vector kernels, storing all $2{2n}$ elements and forgoing the benefits of hermitian symmetry. In this work, I introduce \emph{Orkan}, a simulation library that uses a tiled memory layout storing only the lower triangle of the hermitian matrix at tile granularity, roughly halving both the memory footprint and the wall time to simulate the evolution of quantum states under generic quantum operations. The implementation treats any hermitian operator uniformly and is agnostic to whether the Schrödinger or Heisenberg picture is used. Dedicated $k$-local conjugation algorithms update all entries of the hermitian matrix in a single pass. Benchmarks against Qiskit Aer, QuEST, and Qulacs show consistent wall-clock speedups of $2$-$4{\times}$ partly attributable to the reduced memory footprint.

Authors (1)

Summary

  • The paper introduces a novel tiled memory scheme for hermitian operators that halves memory requirements relative to traditional density matrix simulations.
  • It employs cache-efficient kernels and SIMD vectorization, achieving 2x–4x speedups for quantum channel and native gate operations.
  • Benchmark evaluations demonstrate scalability up to 15 qubits, with significant performance gains preventing memory thrashing on commodity hardware.

Orkan: Cache-Friendly Simulation of Quantum Operations on Hermitian Operators

Introduction and Context

Classical simulation of quantum operations provides essential insights for quantum algorithm development, benchmarking, and noise analysis. Existing methodologies, especially for density matrices, typically vectorize the nn-qubit density matrix into a $2n$-qubit state, leveraging state-vector kernels and their optimizations. However, this approach results in a substantial 22n2^{2n} memory footprint and fails to exploit the intrinsic hermitian symmetry of the system’s operator representations.

The paper introduces Orkan, a simulation framework purpose-built to address the inefficiencies in simulating generic quantum channels (completely positive maps) on hermitian operators. Orkan employs a novel tiled memory layout, storing only the independent (lower-triangular) elements of the hermitian matrix at tile granularity. This architectural decision aims to minimize memory usage and optimize cache performance, facilitating scalable and efficient quantum simulation agnostic to the Schrödinger or Heisenberg picture.

Methodological Advances

Orkan’s core innovation is its cache-efficient, hermiticity-aware storage format. The simulation library covers the hermitian matrix with square tiles of edge length M=2mM = 2^m, retaining only those in the lower triangle to avoid redundant storage. This design leads to approximately a twofold reduction in memory requirements compared to traditional density matrix representations, with negligibly small padding overhead at practical problem scales. Figure 1

Figure 1: The tiled format with a tile size of M=2M=2. Tiles Tti,tjT_{t_{i}, t_{j}} with ti≥tjt_{i} \ge t_{j} are stored, all elements within each tile in row-major order, supporting efficient SIMD vectorisation.

Simulating a generic kk-local quantum operation on nn qubits involves two main updates: intra-tile and cross-tile, reflecting whether all active qubits are within a single tile or not. Orkan exploits the block invariance induced by kk-locality, operating directly on the relevant subspaces and performing block updates via gather–transform–scatter kernels, benefiting from precomputed transfer matrices (Kraus/Liouville representation). For native gates (unitary operations), gate-specific kernels further reduce arithmetic overhead—some, such as Pauli $2n$0 operations, become pure memory permutations rather than involving complex conjugations.

The framework also ensures parallel scaling by allocating whole tiles to threads and maximizing contiguous access within cache lines, removing the false-sharing and load-imbalance characteristics of standard packed formats. Tile sizing is selected for cache-residency (e.g., $2n$1 KiB per tile for $2n$2 at double-complex precision), which enables efficient SIMD vectorization and reduces memory traffic per operation.

Numerical Evaluation and Results

The benchmark suite compares Orkan's tiled and packed-memory implementations to prominent alternatives, including Qiskit Aer, QuEST, and Qulacs. Key test cases include generic quantum channels (e.g., single-qubit depolarizing) and native unitary gates (e.g., Pauli $2n$3). The analysis quantifies both wall-clock runtime and logical memory bandwidth across system sizes from $2n$4 up to $2n$5 qubits. Figure 2

Figure 2: Time per execution of the Hadamard gate averaged over all possible qubit positions, demonstrating reduced execution times for Orkan’s tiled format as qubit numbers increase.

Orkan’s tiled and packed implementations consistently outperform established simulators, achieving speedups of $2n$6 to $2n$7 in wall-clock time for both noisy channels and native gates for $2n$8. At the upper end ($2n$9), the reduction in storage from 22n2^{2n}0 GiB to 22n2^{2n}1 GiB for hermitian matrices prevents out-of-core computation and memory thrashing, widening the speedup gap to 22n2^{2n}2 in the presence of OS-level swapping in the competitors.

Significantly, for native gates, the deployment of direct single-pass conjugation algorithms in Orkan further doubles bandwidth relative to standard double-pass vectorized approaches, resulting in up to 22n2^{2n}3 acceleration over state-of-the-art (Qiskit Aer, QuEST) for mid-scale systems (22n2^{2n}4–22n2^{2n}5). The peak logical memory throughput approaches 22n2^{2n}6 GiB/s, indicative of effective exploitation of on-chip cache hierarchies and efficient parallel scaling. Figure 3

Figure 3: Effective bandwidth of the Hadamard gate execution over all possible qubit positions, with Orkan’s tiled implementation sustaining roughly double the throughput of QuEST at large 22n2^{2n}7.

Benchmark analysis further indicates that, for small systems (22n2^{2n}8), the advantage of the tiled approach is less pronounced due to full matrix L1/L2 residency and tile-padding overhead. For larger 22n2^{2n}9, where working sets overflow to system memory, Orkan’s memory advantages and cache-friendly access patterns become dominant.

Practical and Theoretical Implications

Orkan advances quantum simulation by aligning the storage model with the operational realities of quantum manipulation—every prediction is an expectation value, and the evolution can equivalently proceed via states or observables. This approach empowers research in algorithm prototyping, noise modeling, and small code evaluation without structural assumptions (e.g., sparsity, stabilizer structure, or low entanglement) that existing methods require.

On the practical side, Orkan enables large-scale, RAM-resident simulation for generic, arbitrary quantum channels at a halved memory cost and improved throughput, effectively pushing the scalability frontier on commodity hardware. The unified treatment of Schrödinger and Heisenberg pictures also facilitates flexible experimentation in quantum algorithm design.

Theoretically, Orkan demonstrates that supporting hermitian operator evolution natively—rather than shoehorning the problem into full density-matrix vectorization—provides fundamental performance advantages. This insight likely generalizes to distributed-memory and GPU-accelerated settings, suggesting avenues for future work in hybrid-architecture quantum simulation.

Conclusion

Orkan represents a substantial advancement in the cache-efficient simulation of quantum operations on hermitian operators. By developing a tiled memory format and tailored execution kernels, the framework achieves both a M=2mM = 2^m0 memory reduction and operational speedups of M=2mM = 2^m1–M=2mM = 2^m2 across a range of quantum channels and gate operations. These results challenge the status quo of density-matrix simulation, motivating broader adoption of hermiticity-aware and cache-conscious algorithmic design.

The framework's open-source release positions it for widespread use and integration. Looking ahead, extensions to distributed and heterogeneous compute environments, as well as continued benchmarking on diverse architectures, are likely to further amplify Orkan’s impact within quantum computing research and high-performance simulation. Figure 4

Figure 4

Figure 4: Time per execution of the single-qubit depolarizing channel, with tiled and packed implementations dominating as M=2mM = 2^m3 increases.

Figure 5

Figure 5

Figure 5: Execution performance for the Pauli-M=2mM = 2^m4 gate, confirming the pronounced speedup of Orkan’s approach for native permutation gates.

Figure 6

Figure 6

Figure 6: Performance profile for the controlled Pauli-M=2mM = 2^m5 (CNOT) gate, showing a sustained advantage for the tiled format in both time-per-operation and bandwidth.

References

For full details and empirical data, consult "Orkan: Cache-friendly simulation of quantum operations on hermitian operators" (2604.15765).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.