qruise qpu add
Add a new QPU to QruiseOS.
Syntax¶
Description¶
The qruise qpu add
command initialises the QruiseOS infrastructure for the specified QPU. After running this command, QruiseOS is ready to accept data from flows and experiments for the QPU.
Options¶
Option | Description |
---|---|
-p, --profile |
Specifies custom profile to be used for the run. |
--help |
Show a help message and exit. |
Examples¶
Adding a QPU to QruiseOS¶
To add a QPU to QruiseOS using the CLI, start by creating a new profile in the configuration.yaml
file. After doing so, create a directory where you want to put all the experiments for the new QPU, e.g. $HOME/qpus/my_new_qpu
:
Now change the current working directory to the newly created one:
Using your text editor of choice, create a file named .QKB.json
with the following content:
where PROFILE_NAME
is the name of the profile you wish to use. Now simply run the following:
Your QruiseOS instance should now be ready to accept data from experiments on your new QPU!