Search arXivSearch

arXiv · 2503.21596

Classical bounds on two-outcome bipartite Bell expressions and linear prepare-and-measure witnesses: Efficient computation in parallel environments such as graphics processing units

Abstract

The presented program aims at speeding up the brute force computation of the so-called $L_d$ norm of a matrix $M$ using graphics processing units (GPUs). Alternatives for CPUs have also been implemented, and the algorithm is applicable to any parallel environment. The $n\times m$ matrix $M$ has real elements which may represent coefficients of a bipartite Bell expression or those of a linear prepare-and-measure (PM) witness. In this interpretation, the $L_1$ norm is the local bound of the given correlation-type Bell expression, and the $L_d$ norm for $d\ge 2$ is the classical $d$-dimensional bound of the given PM witness, which is associated with the communication of $d$-level classical messages in the PM scenario. The program is also capable of calculating the local bound of Bell expressions including marginals. In all scenarios, the output is assumed to be binary. The code for GPUs is written in CUDA C and can utilize one NVIDIA GPU in a computer. To illustrate the performance of our implementation, we refer to Brierley et al. [arXiv:1609.05011] who needed approximately three weeks to compute the local bound on a Bell expression defined by a $42\times 42$ matrix on a standard desktop using a single CPU core. In contrast, our efficient implementation of the brute force algorithm allows us to reduce this to three minutes using a single NVIDIA RTX 6000 Ada graphics card on a workstation. For CPUs, the algorithm was implemented with OpenMP and MPI according to the shared and distributed memory models, respectively, and achieves a comparable speedup at a number of CPU cores around 100.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

István Márton, Erika Bene, Péter Diviánszky, Gábor Drótos. 2025-09-17. Classical bounds on two-outcome bipartite Bell expressions and linear prepare-and-measure witnesses: Efficient computation in parallel environments such as graphics processing units. https://doi.org/10.1016/j.cpc.2025.109809

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Measurement-Induced Local Dephasing Generates Symmetrically Located Entangled Sites in a Fermionic Tight-Binding Lattice

We investigate an odd-sized fermionic open tight-binding chain subjected to stochastic projective measurements at its central site, effectively inducing localized dephasing. Focusing initially on the single-particle regime, we demonstrate that when the system is prepared in an even-parity state, the dynamics under central-site dephasing drive it toward a nontrivial steady state, which we characterize through both analytical and numerical approaches. Remarkably, this steady state exhibits long-range quantum correlations in the form of symmetrically positioned, pairwise entangled sites across the chain. We further show that the degree of pairwise mode entanglement can be significantly enhanced by increasing the particle number, provided the system is initialized within a specific symmetry sector associated with an underlying strong symmetry operator. Our results identify a minimal measurement-induced route for generating symmetry-selected long-range pairwise mode entanglement, with possible implications for quantum communication and distributed quantum information processing.

quant-ph

Role of scrambling and noise in temporal information processing with quantum systems

Scrambling quantum systems have attracted attention as effective substrates for temporal information processing. Here we consider a quantum reservoir processing framework that captures a broad range of physical computing models with quantum systems. We examine the scalability and memory retention of the model with scrambling reservoirs modelled by high-order unitary designs in both noiseless and noisy settings. In the former regime, we show that measurement readouts become exponentially concentrated with increasing reservoir size, yet strikingly do not worsen with the reservoir iterations. Thus, while repeatedly reusing a small scrambling reservoir with quantum data might be viable, scaling up the problem size deteriorates generalization unless one can afford an exponential shot overhead. In contrast, the memory of early inputs and initial states decays exponentially in both reservoir size and reservoir iterations. In the noisy regime, we also prove that memory decays exponentially in time for local noisy channels. These results required us to introduce new proof techniques for bounding concentration in temporal quantum models. Beyond this extreme scrambling regime, we numerically demonstrate that exponential concentration can still exist even with a physical reservoir such as an Ising model whenever the reservoir operates in a quantum-chaotic phase. In contrast, physical reservoirs in a many-body localized phase and at the edge of chaos appear to not suffer from such phenomena

quant-ph

Superpositions of Quantum Gaussian Processes

We generalise the Gaussian formalism of Continuous Variable (CV) systems to describe their entanglement with Discrete Variable (DV) systems, leading to superpositions of CV Gaussian states. A new class of CV-DV entangled states, named Gaussian-Branched Cat States (GBCSs), yields an analytical formalism to describe quantum hybrid systems. GBCSs are fully characterised by their superposed phase-space parameters: sets of generalised complex first moments and covariance matrices, along with the DV reduced density matrix (phases and contrasts). These states arise in all the instances where Gaussian dynamics, operations, and measurements are performed conditionally on a DV state. The time evolution of the GBCS phase-space parameters allows one -- via a new set of equations in closed form -- to analytically treat a large set of unitary and open dynamics, generated by Gaussian Hamiltonians labelled by DV eigenvalues. Conditional operations, such as displacements and rotations, and Gaussian measurements (homodyne/heterodyne) jointly with DV projectors, can be both described as maps on GBCS's parameters. A phase-space perturbation theory is given to extend the analysis to non-orthogonal DV super-operators, e.g. DV decay. We showcase our general formalism with two paradigmatic examples of experimental modelling: (i) a dispersively coupled qubit to a driven parametric amplifier; (ii) a levitated nanoparticle undergoing Stern-Gerlach matter-wave interferometry in a diffusive environment. Both examples highlight the generation of novel Wigner negativities through qubit measurements.

quant-ph