29,074 research outputs found

    Automatic Generation of Text Descriptive Comments for Code Blocks

    Full text link
    We propose a framework to automatically generate descriptive comments for source code blocks. While this problem has been studied by many researchers previously, their methods are mostly based on fixed template and achieves poor results. Our framework does not rely on any template, but makes use of a new recursive neural network called Code-RNN to extract features from the source code and embed them into one vector. When this vector representation is input to a new recurrent neural network (Code-GRU), the overall framework generates text descriptions of the code with accuracy (Rouge-2 value) significantly higher than other learning-based approaches such as sequence-to-sequence model. The Code-RNN model can also be used in other scenario where the representation of code is required.Comment: aaai 201

    The Wess-Zumino term and quantum tunneling

    Get PDF
    The significance of the Wess--Zumino term in spin tunneling is explored, and a formula is established for the splitting of energy levels of a particle with large fermionic spin as an applied magnetic field is switched on.Comment: Latex, 7 page

    Enhancement of Quantum Tunneling for Excited States in Ferromagnetic Particles

    Full text link
    A formula suitable for a quantitative evaluation of the tunneling effect in a ferromagnetic particle is derived with the help of the instanton method. The tunneling between n-th degenerate states of neighboring wells is dominated by a periodic pseudoparticle configuration. The low-lying level-splitting previously obtained with the LSZ method in field theory in which the tunneling is viewed as the transition of n bosons induced by the usual (vacuum) instanton is recovered. The observation made with our new result is that the tunneling effect increases at excited states. The results should be useful in analyzing results of experimental tests of macroscopic quantum coherence in ferromagnetic particles.Comment: 18 pages, LaTex, 1 figur

    Optical Resonator Analog of a Two-Dimensional Topological Insulator

    Full text link
    A lattice of optical ring resonators can exhibit a topological insulator phase, with the role of spin played by the direction of propagation of light within each ring. Unlike the system studied by Hafezi et al., topological protection is achieved without fine-tuning the inter-resonator couplings, which are given the same periodicity as the underlying lattice. The topological insulator phase occurs for strong couplings, when the tight-binding method is inapplicable. Using the transfer matrix method, we derive the bandstructure and phase diagram, and demonstrate the existence of robust edge states. When gain and loss are introduced, the system functions as a diode for coupled resonator modes.Comment: 10 pages, 9 figure

    EPR spectrum via entangled states for an Exchange-Coupled Dimer of Single-Molecule Magnets

    Full text link
    Multi-high-frequency electron paramagnetic resonance(EPR) spectrum for a supermolecular dimer [Mn4]2[ Mn_4]_2 of single-molecule magnets recently reported [S. Hill, R. S. Edwards, N. Aliaga-Alcalde and G. Christou(HEAC), Science 302, 1015 (2003)] is studied in terms of the perturbation method in which the high-order corrections to the level splittings of degenerate states are included. It is shown that the corresponding eigenvectors are composed of entangled states of two molecules. The EPR-peak positions are calculated in terms of the eigenstates at various frequencies. From the best fit of theoretical level splittings with the measured values we obtain the anisotropy constant and exchange coupling which are in agreement with the corresponding values of experimental observation. Our study confirms the prediction of HEAC that the two Mn4Mn_4 units within the dimer are coupled quantum mechanically by the antiferromagnetic exchange interaction and the supermolecular dimer behaviors in analogy with artificially fabricated quantum dots.Comment: 16 pages,2 figures, 2 table

    Remote multispectral imaging with PRISMS and XRF analysis of Tang Tomb paintings

    Get PDF
    PRISMS (Portable Remote Imaging System for Multispectral Scanning) is a multispectral/hyperspectral imaging system designed for flexible in situ imaging of wall paintings at high resolution (tens of microns) over a large range of distances (less than a meter to over ten meters). This paper demonstrates a trial run of the VIS/NIR (400-880nm) component of the instrument for non-invasive imaging of wall paintings in situ. Wall painting panels from excavated Tang dynasty (618-907AD) tombs near Xi’an were examined by PRISMS. Pigment identifications were carried out using the spectral reflectance obtained from multispectral imaging coupled with non-invasive elemental analysis using a portable XRF

    Controllable Persistent Atom Current of Bose-Einstein Condensates in an Optical Lattice Ring

    Full text link
    In this paper the macroscopic quantum states of Bose-Einstein condensates in optical lattices is studied by solving the periodic Gross-Pitaevskii equation in one-dimensional geometry. It is shown that an exact solution seen to be a travelling wave of excited macroscopic quantum states resultes in a persistent atom current which can be controlled by adjusting of the barrier height of the optical periodic potential. A critical condition to generate the travelling wave is demonstrated and we moreover propose a practical experiment to realize the persistent atom current in a toroidal atom waveguide.Comment: 9 pages, 1 figure

    Zeeman-Induced Gapless Superconductivity with Partial Fermi Surface

    Full text link
    We show that an in-plane magnetic field can drive two-dimensional spin-orbit-coupled systems under superconducting proximity effect into a gapless phase where parts of the normal state Fermi surface are gapped, and the ungapped parts are reconstructed into a small Fermi surface of Bogoliubov quasiparticles at zero energy. Charge distribution, spin texture, and density of states of such "partial Fermi surface" are discussed. Material platforms for its physical realization are proposed.Comment: 5 pages, 2 figure
    • …
    corecore