26 research outputs found

    Optimizing Quantum Programs against Decoherence: Delaying Qubits into Quantum Superposition

    Full text link
    Quantum computing technology has reached a second renaissance in the last decade. However, in the NISQ era pointed out by John Preskill in 2018, quantum noise and decoherence, which affect the accuracy and execution effect of quantum programs, cannot be ignored and corrected by the near future NISQ computers. In order to let users more easily write quantum programs, the compiler and runtime system should consider underlying quantum hardware features such as decoherence. To address the challenges posed by decoherence, in this paper, we propose and prototype QLifeReducer to minimize the qubit lifetime in the input OpenQASM program by delaying qubits into quantum superposition. QLifeReducer includes three core modules, i.e.,the parser, parallelism analyzer and transformer. It introduces the layered bundle format to express the quantum program, where a set of parallelizable quantum operations is packaged into a bundle. We evaluate quantum programs before and after transformed by QLifeReducer on both real IBM Q 5 Tenerife and the self-developed simulator. The experimental results show that QLifeReducer reduces the error rate of a quantum program when executed on IBMQ 5 Tenerife by 11%; and can reduce the longest qubit lifetime as well as average qubit lifetime by more than 20% on most quantum workloads.Comment: To appear in TASE2019 - the 13th International Symposium on Theoretical Aspects of Software Engineering (submitted on Jan 25, 2019, and this is camera-ready version

    CODAR: A Contextual Duration-Aware Qubit Mapping for Various NISQ Devices

    Full text link
    Quantum computing devices in the NISQ era share common features and challenges like limited connectivity between qubits. Since two-qubit gates are allowed on limited qubit pairs, quantum compilers must transform original quantum programs to fit the hardware constraints. Previous works on qubit mapping assume different gates have the same execution duration, which limits them to explore the parallelism from the program. To address this drawback, we propose a Multi-architecture Adaptive Quantum Abstract Machine (maQAM) and a COntext-sensitive and Duration-Aware Remapping algorithm (CODAR). The CODAR remapper is aware of gate duration difference and program context, enabling it to extract more parallelism from programs and speed up the quantum programs by 1.23 in simulation on average in different architectures and maintain the fidelity of circuits when running on Origin Quantum noisy simulator.Comment: arXiv admin note: substantial text overlap with arXiv:2001.0688

    QSynth artifact evaluation

    No full text
    <p>QSynth's source code for POPL24 artifact evaluation. </p&gt

    A Fast Response Robust Deadbeat Predictive Current Control for Permanent Magnet Synchronous Motor

    No full text
    Deadbeat predictive current control (DBPCC) has the characteristic of fast current response, but it is sensitive to motor parameters. Observer-based DBPCC can eliminate the steady state current tracking error when parameter mismatch exists. However, the actual current will deviate from the reference current during transient state in the case of inductance mismatch. In this paper, a fast response robust deadbeat predictive current control (FRRDBPCC) method is proposed for surface mounted permanent magnet synchronous motor (SPMSM). Firstly, the current tracking error caused by inductance mismatch during transient state is analyzed in detail. Then, an extended state observer (ESO) is proposed to estimate the lumped disturbance caused by parameter mismatch. Based on discrete time ESO, the predicted currents are used to replace the sampled currents to compensate for one-step delay caused by calculation and sampling. Furthermore, an online inductance identification algorithm and a modified prediction model are proposed. The dq-axis currents can be completely decoupled by updating the inductance in the modified prediction model online, ensuring that the current can track the reference value in two control periods. The proposed method improves robustness against parameter mismatch and guarantees dynamic response performance simultaneously. The experimental results verify the effectiveness of the proposed method

    Spatial Pattern of Water Footprints for Crop Production in Northeast China

    No full text
    Water is an important resource for crop production; identifying the spatial pattern of the crop water footprint (WF) is of great significance for the optimization of water resource consumption and management in agricultural production. This study quantified the green, blue and grey water footprints (GWF, BWF and GRWF) and water consumption (GWC, BWC and GRWC) of rice, maize and soybean at the 1 km grid level and city level in Northeast China in 2019 based on the CROPWAT 8.0 model. The results showed that the average total water footprints of rice (TWFr), maize (TWFm) and soybean (TWFs) were 624.31 m3·ton−1, 527.26 m3·ton−1 and 1298.21 m3·ton−1, respectively. The spatial differences in the WF of each crop were obvious in Northeast China, with the highest values of TWFr mainly occurring in Baicheng, Dalian and Qitaihe; the highest TWFm values were mainly found in Baicheng, Yingkou and Hulundao, and the highest TWFs were mainly found in Baicheng, Chifeng and Tongliao. The total water consumption of all three crops (TWCc) in Northeast China was 94 billion m3·yr−1 (42% green, 26% blue and 32% grey), in which the total water consumption of maize production (TWCm) accounted for 60%. The production of rice, maize and soybean in Northeast China mainly depends on green water, grey water and blue water, respectively. Combining the results of the spatial patterns of crop TWF and TWC, the study revealed that the planting pattern of crops in Northeast China was relatively reasonable for sustainable water use. Meanwhile, cities that have the potential to enhance crop production and cities that should improve their water use efficiency and reduce fertilizer application were also identified

    Automating NISQ Application Design with Meta Quantum Circuits with Constraints (MQCC)

    No full text
    Near-term intermediate scale quantum (NISQ) computers are likely to have very restricted hardware resources, where precisely controllable qubits are expensive, error-prone, and scarce. Programmers of such computers must therefore balance trade-offs among a large number of (potentially heterogeneous) factors specific to the targeted application and quantum hardware. To assist them, we propose Meta Quantum Circuits with Constraints (MQCC), a meta-programming framework for quantum programs. Programmers express their application as a succinct collection of normal quantum circuits stitched together by a set of (manually or automatically) added meta-level choice variables, whose values are constrained according to a programmable set of quantitative optimization criteria. MQCC’s compiler generates the appropriate constraints and solves them via an SMT solver, producing an optimized, runnable program. We showcase a few MQCC’s applications for its generality including an automatic generation of efficient error syndrome extraction schemes for fault-tolerant quantum error correction with heterogeneous qubits and an approach to writing approximate quantum Fourier transformation and quantum phase estimation that smoothly trades off accuracy and resource use. We also illustrate that MQCC can easily encode prior one-off NISQ application designs-–multi-programming (MP), crosstalk mitigation (CM)—as well as a combination of their optimization goals (i.e., a combined MP-CM).https://doi.org/10.1145/357936

    Occurrence and Removal of Triazine Herbicides during Wastewater Treatment Processes and Their Environmental Impact on Aquatic Life

    No full text
    Wastewater treatment plants (WWTPs) represent a major point source for pesticide residue entry to aquatic environment and may threaten ecosystems and biodiversity in urban area. Triazine herbicides should be paid attention to for their ubiquitous occurrence in the environment and long-term residue. The present study aimed to quantify eleven compounds of triazine herbicides during wastewater treatment processes. The solid phase extraction and gas-chromatography mass spectrometry (GC-MS) determination method were developed to identify the target herbicides with approving sensitivity. The pollution levels, removal rates of eleven triazine herbicides along five different treatment stages in WWTP were investigated. The results showed that three herbicides including atrazine, simetryn and prometryn were detected. Their concentrations in influent were among 28.79 to 104.60 ng/L. Their total removal rates from influent to effluent were 14.92%, 10.79% and 4.41%, respectively indicating that they were difficult to be effectively remove during wastewater treatment. Regarding the negative impact of triazine herbicides discharged from WWTPs on downstream water quality and aquatic life, the environmental risks were assessed by calculating the Environmental Relevance of Pesticides from Wastewater Treatment Plants Index (ERPWI) and water cycle spreading index (WCSI). The risk assessment results denoted the possible high risks for atrazine and simetryn to alage, and simetryn concurrently posed a high risk for the daphnia, while prometryn was at medium risk to alage. Atrazine and simetryn in effluent posed high risk for algae, meanwhile, simetryn had high risk for Daphnia. These results suggested a possible threat to the aquatic environment, rendering in this way the ERPWI method as a useful assessment tool. Further extensive study is needed for atrazine and simetryn in order to better understand their migration mechanism in aquatic environment

    Microstructure and Mechanical Properties of AlSi7Mg0.6 Aluminum Alloy Fabricated by Wire and Arc Additive Manufacturing Based on Cold Metal Transfer (WAAM-CMT)

    No full text
    Wire and arc additive manufacturing based on cold metal transfer (WAAM-CMT) has aroused wide public concern in recent years as one of the most advanced technologies for manufacturing components with complex geometries. However, the microstructure and mechanical properties of the parts fabricated by WAAM-CMT technology mostly are intolerable for engineering application and should be improved necessarily. In this study, heat treatment was proposed to optimize the microstructure and enhance mechanical properties in the case of AlSi7Mg0.6 alloy. After heat treatment, the division between coarse grain zone and fine grain zone of as-deposited samples seemed to disappear and the distribution of Si and Mg elements was more uniform. What is more, the yield strength and ultimate tensile strength were improved significantly, while the ductility could be sustained after heat treatment. The improvement of strength is attributed to precipitation strengthening, and the shape change of Si phase. No reduction in ductility is due to the higher work hardening rate caused by nanostructured precipitate. It is proved that heat treatment as an effective method can control the microstructure and enhance comprehensive mechanical properties, which will boost rapid development of WAAM industrial technology
    corecore