Managing your projects

You can find all your projects in the My QI home menu. You can find this button in the top right corner. You can quickly find any project by entering the project title in the 'search' bar. Also note the different options to sort your projects.

Here you can also delete or rename an existing project by clicking on option button of a project (the three dots). It is also possible to rename a project from within the editor, by clicking Select backend and filling in a new name.

Naming projects through the SDK

As a default, SDK stores the jobs in a Quantum Inspire project with the name "qi-sdk-project-" concatenated with a unique identifier for each run. Providing a project name yourself makes it easier to find the project in the Quantum Inspire web-interface and makes it possible to gather related jobs to the same project.

Qiskit users do something like:

          from coreapi.auth import BasicAuthentication
from quantuminspire.qiskit import QI

authentication = BasicAuthentication("email", "password")
QI.set_authentication(authentication, project_name='my-project-name')

ProjectQ users set the project name while initializing QuantumInspireAPI:

          from coreapi.auth import BasicAuthentication
from quantuminspire.api import QuantumInspireAPI

authentication = BasicAuthentication("email", "password")
qi_api = QuantumInspireAPI(authentication=authentication, project_name='my-project-name')

Version control

Quantum Inspire automatically saves what you type in the editor. The advantage of this is that you have a low risk of losing your work, because everything you type will be automatically stored on our servers. This functionality also has a limitation; it is not possible to revert to a previous version of your code. The results and code of any previous run of a project can always be found under 'results' in the editor. This way, some version control is possible: when you run the code, it is saved and can always be visited.

Of course, it is also possible to copy the code of an existing project to a new project with a new name, in order to save the previous version.

If dedicated version control is desirable, it is more convenient use Quantum Inspire via Python (in combination with git) with the SDK.