User Guide
Magic Commands
You can access the CLI directly from within Notebooks using IPython magic commands. First, configure the qBraid magic command extension using:
$ qbraid configure magic
The above command can also be executed from within a Jupyter notebook using the !
operator. Then, from within a
notebook cell, load the qBraid magic IPython extension using:
In [1]: %load_ext qbraid_magic
Now you can continue to use the qBraid-CLI as normal from within your Jupyter notebook using the magic %
operator, e.g.
In [2]: %qbraid jobs state
In [3]: %qbraid jobs enable braket -y