SearcharxivSearch

arXiv subjects

Kenny Choo

Publications and source records attributed to Kenny Choo.

At least 19 recordsLinked to original sources

Simulated Interactive Debugging

Debugging software, i.e., the localization of faults and their repair, is a key activity in software engineering. Therefore, effective and efficient debugging is one of the core skills a software engineer must develop. However, the teaching of debugging techniques is usually very limited or only taught in indirect ways, e.g., during software projects. As a result, most Computer Science (CS) students learn debugging only in an ad-hoc and unstructured way. In this work, we present our approach called Simulated Interactive Debugging that interactively guides students along the debugging process. The guidance aims to empower the students to repair their solutions and have a proper learning experience. We envision that such guided debugging techniques can be integrated into programming courses early in the CS education curriculum. We developed a prototypical implementation using traditional fault localization techniques and large language models. Students can use features like the automated setting of breakpoints or an interactive chatbot. We designed and executed a small-scale, controlled experiment with eight undergraduate CS students. Based on the responses, we conclude that the participants liked the systematic guidance. They rated the automated setting of breakpoints as most effective, followed by the interactive debugging and chatting, and the breakpoint explanations. In future, we will extend our concept and implementation, and perform more intensive user studies.

cs.SE

Quantum approximation algorithms for many-body and electronic structure problems

Computing many-body ground state energies and resolving electronic structure calculations are fundamental problems for fields such as quantum chemistry or condensed matter. Several quantum computing algorithms that address these problems exist, although it is often challenging to establish rigorous bounds on their performances. Here we detail three algorithms that produce approximate ground states for many-body and electronic structure problems, generalizing some previously known results for 2-local Hamiltonians. Each method comes with asymptotic bounds on the energies produced. The first one produces a separable state which improves on random product states. We test it on a spinless Hubbard model, validating numerically the theoretical result. The other two algorithms produce entangled states via shallow or deep circuits, improving on the energies of given initial states. We demonstrate their performance via numerical experiments on a 2-dimensional Hubbard model, starting from a checkerboard product state, as well as on some chemistry Hamiltonians, using the Hartree-Fock state as reference. In both cases, we show that the approximate energies produced are close to the exact ones. These algorithms provide a way to systematically improve the estimation of ground state energies and can be used stand-alone or in conjunction with existing quantum algorithms for ground states.

quant-ph

Construction of low-energy symmetric Hamiltonians and Hubbard parameters for twisted multilayer systems using ab-initio input

A computationally efficient workflow for obtaining the low-energy symmetric tight-binding Hamiltonians for twisted multilayer systems is presented in this work. We apply this scheme to twisted bilayer graphene at the first magic angle. As initial step, the full-energy tight-binding Hamiltonian is generated by the Slater-Koster model with parameters fitted to ab-initio data at larger angles. Then, the low-energy symmetric four-band and twelve-band Hamiltonians are constructed using the maximum-localization procedure subjected to crystal and time-reversal-symmetry constraints. Finally, we compute extended Hubbard parameters for both models within the constrained random phase approximation (cRPA) for screening, which again respect the symmetries. The relevant data and results of this work are freely available via an online repository. Our workflow, exemplified in this work on twisted bilayer graphene, is straightforwardly transferable to other twisted multi-layer materials.

cond-mat.str-el

Thermal and dissipative effects on the heating transition in a driven critical system

We study the dissipative dynamics of a periodically driven inhomogeneous critical lattice model in one dimension. The closed system dynamics starting from pure initial states is well-described by a driven Conformal Field Theory (CFT), which predicts the existence of both heating and non-heating phases in such systems. Heating is inhomogeneous and is manifested via the emergence of black-hole like horizons in the system. The robustness of this CFT phenomenology when considering thermal initial states and open systems remains elusive. First, we present analytical results for the Floquet CFT time evolution for thermal initial states. Moreover, using exact calculations of the time evolution of the lattice density matrix, we demonstrate that for short and intermediate times, the closed system phase diagram comprising heating and non-heating phases, persists for thermal initial states on the lattice. Secondly, in the fully open system with boundary dissipators, we show that the nontrivial spatial structure of the heating phase survives particle-conserving and non-conserving dissipations through clear signatures in mutual information and energy density evolution.

cond-mat.str-el

Ab-initio quantum chemistry with neural-network wavefunctions

Machine learning and specifically deep-learning methods have outperformed human capabilities in many pattern recognition and data processing problems, in game playing, and now also play an increasingly important role in scientific discovery. A key application of machine learning in the molecular sciences is to learn potential energy surfaces or force fields from ab-initio solutions of the electronic Schrödinger equation using datasets obtained with density functional theory, coupled cluster, or other quantum chemistry methods. Here we review a recent and complementary approach: using machine learning to aid the direct solution of quantum chemistry problems from first principles. Specifically, we focus on quantum Monte Carlo (QMC) methods that use neural network ansatz functions in order to solve the electronic Schrödinger equation, both in first and second quantization, computing ground and excited states, and generalizing over multiple nuclear configurations. Compared to existing quantum chemistry methods, these new deep QMC methods have the potential to generate highly accurate solutions of the Schrödinger equation at relatively modest computational cost.

physics.chem-ph

Introduction to Machine Learning for the Sciences

This is an introductory machine-learning course specifically developed with STEM students in mind. Our goal is to provide the interested reader with the basics to employ machine learning in their own projects and to familiarize themself with the terminology as a foundation for further reading of the relevant literature. In these lecture notes, we discuss supervised, unsupervised, and reinforcement learning. The notes start with an exposition of machine learning methods without neural networks, such as principle component analysis, t-SNE, clustering, as well as linear regression and linear classifiers. We continue with an introduction to both basic and advanced neural-network structures such as dense feed-forward and conventional neural networks, recurrent neural networks, restricted Boltzmann machines, (variational) autoencoders, generative adversarial networks. Questions of interpretability are discussed for latent-space representations and using the examples of dreaming and adversarial attacks. The final section is dedicated to reinforcement learning, where we introduce basic notions of value functions and policy learning.

physics.comp-ph

Broken-Symmetry Ground States of the Heisenberg model on the Pyrochlore Lattice

The spin-1/2 Heisenberg model on the pyrochlore lattice is an iconic frustrated three-dimensional spin system with a rich phase diagram. Besides hosting several ordered phases, the model is debated to possess a spin-liquid ground state when only nearest-neighbor antiferromagnetic interactions are present. Here, we contest this hypothesis with an extensive numerical investigation using both exact diagonalization and complementary variational techniques. Specifically, we employ a RVB-like many-variable Monte Carlo ansatz and convolutional neural network quantum states for (variational) calculations with up to $4\times 4^3$ and $4 \times 3^3$ spins, respectively. We demonstrate that these techniques yield consistent results, allowing for reliable extrapolations to the thermodynamic limit. Our main results are (1) the determination of the phase transition between the putative spin-liquid phase and the neighboring magnetically ordered phase and (2) a careful characterization of the ground state in terms of symmetry-breaking tendencies. We find clear indications of spontaneously broken inversion and rotational symmetry, calling the scenario of a featureless quantum spin-liquid into question. Our work showcases how many-variable variational techniques can be used to make progress in answering challenging questions about three-dimensional frustrated quantum magnets.

cond-mat.str-el

Neural Network Evolution Strategy for Solving Quantum Sign Structures

Feed-forward neural networks are a novel class of variational wave functions for correlated many-body quantum systems. Here, we propose a specific neural network ansatz suitable for systems with real-valued wave functions. Its characteristic is to encode the all-important rugged sign structure of a quantum wave function in a convolutional neural network with discrete output. Its training is achieved through an evolutionary algorithm. We test our variational ansatz and training strategy on two spin-1/2 Heisenberg models, one on the two-dimensional square lattice and one on the three-dimensional pyrochlore lattice. In the former, our ansatz converges with high accuracy to the analytically known sign structures of ordered phases. In the latter, where such sign structures are a priory unknown, we obtain better variational energies than with other neural network states. Our results demonstrate the utility of discrete neural networks to solve quantum many-body problems.

cond-mat.str-el

AutoChart: A Dataset for Chart-to-Text Generation Task

The analytical description of charts is an exciting and important research area with many applications in academia and industry. Yet, this challenging task has received limited attention from the computational linguistics research community. This paper proposes \textsf{AutoChart}, a large dataset for the analytical description of charts, which aims to encourage more research into this important area. Specifically, we offer a novel framework that generates the charts and their analytical description automatically. We conducted extensive human and machine evaluations on the generated charts and descriptions and demonstrate that the generated texts are informative, coherent, and relevant to the corresponding charts.

cs.CL

Hamiltonian reconstruction as metric for variational studies

Variational approaches are among the most powerful modern techniques to approximately solve quantum many-body problems. These encompass both variational states based on tensor or neural networks, and parameterized quantum circuits in variational quantum eigensolvers. However, self-consistent evaluation of the quality of variational wavefunctions is a notoriously hard task. Using a recently developed Hamiltonian reconstruction method, we propose a multi-faceted approach to evaluating the quality of neural-network based wavefunctions. Specifically, we consider convolutional neural network (CNN) and restricted Boltzmann machine (RBM) states trained on a square lattice spin-1/2 $J_1$-$J_2$ Heisenberg model. We find that the reconstructed Hamiltonians are typically less frustrated, and have easy-axis anisotropy near the high frustration point. Furthermore, the reconstructed Hamiltonians suppress quantum fluctuations in the large $J_2$ limit. Our results highlight the critical importance of the wavefunction's symmetry. Moreover, the multi-faceted insight from the Hamiltonian reconstruction reveals that a variational wave function can fail to capture the true ground state through suppression of quantum fluctuations.

cond-mat.str-el

The fine structure of heating in a quasiperiodically driven critical quantum system

We study the heating dynamics of a generic one dimensional critical system when driven quasiperiodically. Specifically, we consider a Fibonacci drive sequence comprising the Hamiltonian of uniform conformal field theory (CFT) describing such critical systems and its sine-square deformed counterpart. The asymptotic dynamics is dictated by the Lyapunov exponent which has a fractal structure embedding Cantor lines where the exponent is exactly zero. Away from these Cantor lines, the system typically heats up fast to infinite energy in a non-ergodic manner where the quasiparticle excitations congregate at a small number of select spatial locations resulting in a build up of energy at these points. Periodic dynamics with no heating for physically relevant timescales is seen in the high frequency regime. As we traverse the fractal region and approach the Cantor lines, the heating slows enormously and the quasiparticles completely delocalise at stroboscopic times. Our setup allows us to tune between fast and ultra-slow heating regimes in integrable systems.

cond-mat.str-el

Pose Estimation for Facilitating Movement Learning from Online Videos

There exists a multitude of online video tutorials to teach physical movements such as exercises. Yet, users lack support to verify the accuracy of their movements when following such videos and have to rely on their own perception. To address this, we developed a web-based application that performs human pose estimation using both video inputs from the online video and web camera, then provides different types of visual feedback to a user. Our study suggests that the user's skeleton overlaid on the user's camera feed improved user performance, whereas the user's skeleton on its own or trainer's skeleton with the trainer video offered limited benefits. We believe that our application demonstrates the potential to enhance learning physical movements from online videos and provides a basis for other guidance systems to design suitable visualizations.

cs.HC

Fermionic neural-network states for ab-initio electronic structure

Neural-network quantum states have been successfully used to study a variety of lattice and continuous-space problems. Despite a great deal of general methodological developments, representing fermionic matter is however still early research activity. Here we present an extension of neural-network quantum states to model interacting fermionic problems. Borrowing techniques from quantum simulation, we directly map fermionic degrees of freedom to spin ones, and then use neural-network quantum states to perform electronic structure calculations. For several diatomic molecules in a minimal basis set, we benchmark our approach against widely used coupled cluster methods, as well as many-body variational states. On the test molecules, we recover almost the entirety of the correlation energy. We systematically improve upon coupled cluster methods and Jastrow wave functions, reaching levels of chemical accuracy or better. Finally, we discuss routes for future developments and improvements of the methods presented.

physics.comp-ph

Emergent Black Hole Dynamics in Critical Floquet Systems

While driven interacting quantum matter is generically subject to heating and scrambling, certain classes of systems evade this paradigm. We study such an exceptional class in periodically driven critical (1 + 1)-dimensional systems with a spatially modulated, but disorder-free time evolution operator. Instead of complete scrambling, the excitations of the system remain well-defined. Their propagation is analogous to the evolution along light cones in a curved space-time obtained by two Schwarzschild black holes. The Hawking temperature serves as an order parameter which distinguishes between heating and non-heating phases. Beyond a time scale determined by the inverse Hawking temperature, excitations are absorbed by the black holes resulting in a singular concentration of energy at their center. We obtain these results analytically within conformal field theory, capitalizing on a mapping to sine-square deformed field theories. Furthermore, by means of numerical calculations for an interacting XXZ spin-1/2 chain, we demonstrate that our findings survive lattice regularization.

cond-mat.str-el

NetKet: A Machine Learning Toolkit for Many-Body Quantum Systems

We introduce NetKet, a comprehensive open source framework for the study of many-body quantum systems using machine learning techniques. The framework is built around a general and flexible implementation of neural-network quantum states, which are used as a variational ansatz for quantum wave functions. NetKet provides algorithms for several key tasks in quantum many-body physics and quantum technology, namely quantum state tomography, supervised learning from wave-function data, and ground state searches for a wide range of customizable lattice models. Our aim is to provide a common platform for open research and to stimulate the collaborative development of computational methods at the interface of machine learning and many-body physics.

quant-ph

Transport and energetic properties of a ring of interacting spins coupled to heat baths

We study the heat and spin transport properties in a ring of interacting spins coupled to heat baths at different temperatures. We show that interactions, by inducing avoided crossings, can be a mean to tune both the total heat current flowing between the ring and the baths, and the way it flows through the system. In particular, we recognize three regimes in which the heat current flows clockwise, counter-clockwise, and in parallel. The temperature bias between the baths also induces a spin current within the ring, whose direction and magnitude can be tuned by the interaction. Lastly, we show how the ergotropy of the nonequilibrium steady state can increase significantly near the avoided crossings.

cond-mat.stat-mech

Study of the Two-Dimensional Frustrated J1-J2 Model with Neural Network Quantum States

The use of artificial neural networks to represent quantum wave-functions has recently attracted interest as a way to solve complex many-body problems. The potential of these variational parameterizations has been supported by analytical and numerical evidence in controlled benchmarks. While approaching the end of the early research phase in this field, it becomes increasingly important to show how neural-network states perform for models and physical problems that constitute a clear open challenge for other many-body computational methods. In this paper we start addressing this aspect, concentrating on a presently unsolved model describing two-dimensional frustrated magnets. Using a fully convolutional neural network model as a variational ansatz, we study the frustrated spin-1/2 J1-J2 Heisenberg model on the square lattice. We demonstrate that the resulting predictions for both ground-state energies and properties are competitive with, and often improve upon, existing state-of-the-art methods. In a relatively small region in the parameter space, corresponding to the maximally frustrated regime, our ansatz exhibits comparatively good but not best performance. The gap between the complexity of the models adopted here and those routinely adopted in deep learning applications is, however, still substantial, such that further improvements in future generations of neural-network quantum states are likely to be expected.

cond-mat.str-el

Topological many-body scar states in dimensions 1, 2, and 3

We propose an exact construction for atypical excited states of a class of non-integrable quantum many-body Hamiltonians in one dimension (1D), two dimensions (2D), and three dimensins (3D) that display area law entanglement entropy. These examples of many-body `scar' states have, by design, other properties, such as topological degeneracies, usually associated with the gapped ground states of symmetry protected topological phases or topologically ordered phases of matter.

cond-mat.other