65 research outputs found

    LIPIcs

    Get PDF
    Union-Find (or Disjoint-Set Union) is one of the fundamental problems in computer science; it has been well-studied from both theoretical and practical perspectives in the sequential case. Recently, there has been mounting interest in analyzing this problem in the concurrent scenario, and several asymptotically-efficient algorithms have been proposed. Yet, to date, there is very little known about the practical performance of concurrent Union-Find. This work addresses this gap. We evaluate and analyze the performance of several concurrent Union-Find algorithms and optimization strategies across a wide range of platforms (Intel, AMD, and ARM) and workloads (social, random, and road networks, as well as integrations into more complex algorithms). We first observe that, due to the limited computational cost, the number of induced cache misses is the critical determining factor for the performance of existing algorithms. We introduce new techniques to reduce this cost by storing node priorities implicitly and by using plain reads and writes in a way that does not affect the correctness of the algorithms. Finally, we show that Union-Find implementations are an interesting application for Transactional Memory (TM): one of the fastest algorithm variants we discovered is a sequential one that uses coarse-grained locking with the lock elision optimization to reduce synchronization cost and increase scalability

    Your Student is Better Than Expected: Adaptive Teacher-Student Collaboration for Text-Conditional Diffusion Models

    Full text link
    Knowledge distillation methods have recently shown to be a promising direction to speedup the synthesis of large-scale diffusion models by requiring only a few inference steps. While several powerful distillation methods were recently proposed, the overall quality of student samples is typically lower compared to the teacher ones, which hinders their practical usage. In this work, we investigate the relative quality of samples produced by the teacher text-to-image diffusion model and its distilled student version. As our main empirical finding, we discover that a noticeable portion of student samples exhibit superior fidelity compared to the teacher ones, despite the "approximate" nature of the student. Based on this finding, we propose an adaptive collaboration between student and teacher diffusion models for effective text-to-image synthesis. Specifically, the distilled model produces the initial sample, and then an oracle decides whether it needs further improvements with a slow teacher model. Extensive experiments demonstrate that the designed pipeline surpasses state-of-the-art text-to-image alternatives for various inference budgets in terms of human preference. Furthermore, the proposed approach can be naturally used in popular applications such as text-guided image editing and controllable generation.Comment: CVPR2024 camera ready v

    Fourier expansion in variational quantum algorithms

    Full text link
    The Fourier expansion of the loss function in variational quantum algorithms (VQA) contains a wealth of information, yet is generally hard to access. We focus on the class of variational circuits, where constant gates are Clifford gates and parameterized gates are generated by Pauli operators, which covers most practical cases while allowing much control thanks to the properties of stabilizer circuits. We give a classical algorithm that, for an NN-qubit circuit and a single Pauli observable, computes coefficients of all trigonometric monomials up to a degree mm in time bounded by O(N2m)\mathcal{O}(N2^m). Using the general structure and implementation of the algorithm we reveal several novel aspects of Fourier expansions in Clifford+Pauli VQA such as (i) reformulating the problem of computing the Fourier series as an instance of multivariate boolean quadratic system (ii) showing that the approximation given by a truncated Fourier expansion can be quantified by the L2L^2 norm and evaluated dynamically (iii) tendency of Fourier series to be rather sparse and Fourier coefficients to cluster together (iv) possibility to compute the full Fourier series for circuits of non-trivial sizes, featuring tens to hundreds of qubits and parametric gates.Comment: 10+5 pages, code available at https://github.com/idnm/FourierVQA, comments welcom

    Conformal symmetry in quasi-free Markovian open quantum systems

    Full text link
    Conformal symmetry governs the behavior of closed systems near second-order phase transitions, and is expected to emerge in open systems going through dissipative phase transitions. We propose a framework allowing for a manifest description of conformal symmetry in open Markovian systems. The key difference from the closed case is that both conformal algebra and the algebra of local fields are realized on the space of superoperators. We illustrate the framework by a series of examples featuring systems with quadratic Hamiltonians and linear jump operators, where the Liouvillian dynamics can be efficiently analyzed using the formalism of third quantization. We expect that our framework can be extended to interacting systems using an appropriate generalization of the conformal bootstrap.Comment: 15 pages, supplementary Wolfram Mathematica notebook available at https://github.com/idnm/third_quantization v2: minor revision (references added, typos corrected) v2: Minor revisions done and typos correcte

    Near infrared few-cycle pulses for high harmonic generation

    Full text link
    We report on the development of tunable few-cycle pulses with central wavelengths from 1.6 um to 2 um. Theses pulses were used as a proof of principle for high harmonic generation in atomic and molecular targets. In order to generate such pulses we produced a filament in a 4 bar krypton cell. Spectral broadening by a factor of 2 to 3 of a 40 fs near infrared input pulse was achieved. The spectrally broadened output pulses were then compressed by fused silica plates down to the few-cycle regime close to the Fourier limit. The auto-correlation of these pulses revealed durations of about 3 cycles for all investigated central wavelengths. Pulses with a central wavelength of 1.7 um and up to 430 uJ energy per pulse were employed to generate high order harmonics in Xe, Ar and N2. Moving to near infrared few-cycle pulses opens the possibility to operate deeply in the non-perturbative regime with a Keldysh parameter smaller than 1. Hence, this source is suitable for the study of the non-adiabatic tunneling regime in most generating systems used for high order harmonic generation and attoscience.Comment: 12 pages, 4 figure
    • …
    corecore