How to set up the Intel® Quantum SDK in qBraid
Khalate, P., Wu, X.-C., Premaratne, S., Hogaboam, J., Holmes, A., Schmitz, A., Guerreschi, G. G., Zou, X. & Matsuura, A. Y., arXiv:2202.11142 (2022)
IQSDK
), which you will use to create and run your first notebook.
quantum_kernel
as C++ source in your Python environment and then
expose that kernel for operation. A second approach for interacting with Python is via the Intel® Quantum Compiler OpenQASM Bridge:
quantum_kernel
functions in C++, compile to a .so
shared object file, setup the Intel® Quantum Simulator and call the
intelqsdk.cbindings
APIs from Python.
quantum_kernel
source in C++, and use the intelqsdk.cbindings
library as before, all from within Python.
intel_dk7c2g
.
Before running a notebook, make sure that the Intel® Quantum SDK kernel is active. Then,
make sure it is enabled for the current notebook by selecting
Python [IQSDK]
in the kernel selector in the top-right of your menu bar.
For terminal users, the environment path is discoverable via the qBraid CLI as follows:
intel
environment directory.
quantum_kernel
running on the Intel® Quantum Simulator directly in your notebook. This first kernel will
demonstrate a simple quantum Bell state as a common and familiar quantum computing example.
quantum_kernel
functions in C++ source format. If you are working from the terminal CLI with a pre-existing OpenQASM file simply
use the following syntax to create your C++ quantum_kernel
source file: