We present qcor -a language extension to C++ and compiler implementation that enables heterogeneous quantum-classical programming, compilation, and execution in a single-source context. Our work provides a first-of-its-kind C++ compiler enabling high-level quantum kernel (function) expression in a quantum-language agnostic manner, as well as a hardware-agnostic, retargetable compiler workflow targeting a number of physical and virtual quantum computing backends. qcor leverages novel Clang plugin interfaces and builds upon the XACC system-level quantum programming framework to provide a state-of-the-art integration mechanism for quantumclassical compilation that leverages the best from the community at-large. qcor translates quantum kernels ultimately to the XACC intermediate representation, and provides user-extensible hooks for quantum compilation routines like circuit optimization, analysis, and placement. This work details the overall architecture and compiler workflow for qcor, and provides a number of illuminating programming examples demonstrating its utility for near-term variational tasks, quantum algorithm expression, and feed-forward error correction schemes.
Nanoindentation and photoluminescence (PL) studies were performed on hydrogenated boron carbon nitride thin films deposited using radio frequency magnetron sputtering. Dual target sputtering from B4C and BN targets was used to deposit films. The variation in the composition of films was studied using energy-dispersive X-ray spectroscopy. The influence of hydrogen gas and substrate temperature on the mechanical properties was investigated using nanoindentation measurements. Photoluminescence studies were performed on films deposited under varying hydrogen content and different deposition temperatures. The films deposited in this study exhibited hardness of 6–22 GPa and Young’s modulus of 125–140 GPa. PL spectra demonstrated two prominent emission peaks around 499 nm and 602 nm for the deposited films. Increasing the hydrogen gas ratio in the films induced PL peak shifts to longer wavelengths. Emission spectra shifted to long wavelength with increasing substrate temperature. The emission peak position shifted from 499 nm to 544 nm and from 602 nm to 655 nm as a function of substrate temperature. For the first time, BCNH based thin films PL behavior at low temperature (77 K) has been characterized in this study. The BCNH thin films show a rare phenomenon of negative thermal quenching of emission.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.