21,681 research outputs found

    Multi-party quantum private comparison based on entanglement swapping of Bell entangled states within d-level quantum system

    Full text link
    In this paper, a multi-party quantum private comparison (MQPC) scheme is suggested based on entanglement swapping of Bell entangled states within d-level quantum system, which can accomplish the equality comparison of secret binary sequences from n users via one execution of scheme. Detailed security analysis shows that both the outside attack and the participant attack are ineffective. The suggested scheme needn't establish a private key among n users beforehand through the quantum key distribution (QKD) method to encrypt the secret binary sequences. Compared with previous MQPC scheme based on d-level Cat states and d-level Bell entangled states, the suggested scheme has distinct advantages on quantum resource, quantum measurement of third party (TP) and qubit efficiency.Comment: 8 pages, 1 figure, 1 tabl

    Convex (L,M)(L,M)-fuzzy remote neighborhood operators

    Get PDF
    summary:In this paper, two kinds of remote neighborhood operators in (L,M)(L, M)-fuzzy convex spaces are proposed, which are called convex (L,M)(L,M)-fuzzy remote neighborhood operators. It is proved that these two kinds of convex (L,M)(L,M)-fuzzy remote neighborhood operators can be used to characterize (L,M)(L, M)-fuzzy convex structures. In addition, the lattice structures of two kinds of convex (L,M) (L,M) -fuzzy remote neighborhood operators are also given

    SkCoder: A Sketch-based Approach for Automatic Code Generation

    Full text link
    Recently, deep learning techniques have shown great success in automatic code generation. Inspired by the code reuse, some researchers propose copy-based approaches that can copy the content from similar code snippets to obtain better performance. Practically, human developers recognize the content in the similar code that is relevant to their needs, which can be viewed as a code sketch. The sketch is further edited to the desired code. However, existing copy-based approaches ignore the code sketches and tend to repeat the similar code without necessary modifications, which leads to generating wrong results. In this paper, we propose a sketch-based code generation approach named SkCoder to mimic developers' code reuse behavior. Given a natural language requirement, SkCoder retrieves a similar code snippet, extracts relevant parts as a code sketch, and edits the sketch into the desired code. Our motivations are that the extracted sketch provides a well-formed pattern for telling models "how to write". The post-editing further adds requirement-specific details to the sketch and outputs the complete code. We conduct experiments on two public datasets and a new dataset collected by this work. We compare our approach to 20 baselines using 5 widely used metrics. Experimental results show that (1) SkCoder can generate more correct programs, and outperforms the state-of-the-art - CodeT5-base by 30.30%, 35.39%, and 29.62% on three datasets. (2) Our approach is effective to multiple code generation models and improves them by up to 120.1% in Pass@1. (3) We investigate three plausible code sketches and discuss the importance of sketches. (4) We manually evaluate the generated code and prove the superiority of our SkCoder in three aspects.Comment: Accepted by the 45th IEEE/ACM International Conference on Software Engineering (ICSE 2023

    Determination of incommensurate modulated structure in Bi2Sr1.6La0.4CuO6+{\delta} by aberration-corrected transmission electron microscopy

    Full text link
    Incommensurate modulated structure (IMS) in Bi2Sr1.6La0.4CuO6+{\delta} (BSLCO) has been studied by aberration corrected transmission electron microscopy in combination with high-dimensional (HD) space description. Two images in the negative Cs imaging (NCSI) and passive Cs imaging (PCSI) modes were deconvoluted, respectively. Similar results as to IMS have been obtained from two corresponding projected potential maps (PPMs), but meanwhile the size of dots representing atoms in the NCSI PPM is found to be smaller than that in PCSI one. Considering that size is one of influencing factors of precision, modulation functions for all unoverlapped atoms in BSLCO were determined based on the PPM obtained from the NCSI image in combination with HD space description
    • …
    corecore