Skip to content

qruise qpu add

Add a new QPU to QruiseOS.

Syntax

qruise qpu add [OPTIONS]

Description

The qruise qpu addcommand 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:

mkdir -p $HOME/qpus/my_new_qpu

Now change the current working directory to the newly created one:

cd $HOME/qpus/my_new_qpu

Using your text editor of choice, create a file named .QKB.json with the following content:

{
    "profile": "PROFILE_NAME"
}

where PROFILE_NAME is the name of the profile you wish to use. Now simply run the following:

qruise qpu add

Your QruiseOS instance should now be ready to accept data from experiments on your new QPU!