Software Development Kit

Quantum Inspire offers a number of tools for programmatic access to the platform API. The suite consists of the following tools:

  • A QI tool both for authentication and management of hybrid algorithms
  • A plugin for for writing algorithms in the Qiskit quantum algorithm programming language
  • A plugin for for writing algorithms in the Pennylane quantum algorithm programming language

QI tool

In order for the SDK's to communicate with the Quantum Inspire API, the user needs to log in via the QI tool. For this, a convenience command line interface can be used. To log in, the following commands should be used:

This command will log in the user and store the credentials in ~/.quantuminspire/config.json. This configuration is automatically interpreted by both qiskit-quantuminspire and pennylane-quantuminspire.

Next to authentication, the QI tool can also be used to upload cQASM or hybrid algorithms and fetch its results. This can either be done via the CLI

or via the Python API

More information can be found on: https://qutech-delft.github.io/quantuminspire2.

Qiskit plugin

The qiskit plugin offers support for Quantum Inspire within the Qiskit framework. By using the snippet below users can leverage all functionalities both within a quantum circuit and hybrid algorithm.

More information can be found on: https://qutech-delft.github.io/qiskit-quantuminspire.

Pennylane plugin

Quantum Inspire also offers support for Pennylane algorithms. The snippet below can be used in quantum circuits to connect to the Quantum Inspire backends.