Skip to content

Using real IBM quantum computer

toncho11 edited this page Jan 18, 2024 · 8 revisions

Configuration

  • the parameter quantum available for each pipeline must be set to True
  • you need to set the parameter q_account_token to either you real API token or to q_account_token = 'load_account' in the case you have already saved your API token with the save_account method (see blow)

Procedure

  • execute one of the available pipelines in pyRiemann-qiskit by setting the q_account_token to your token. This will save the token for later execution and execute the pipeline
  • change q_account_token to load_account for all following executions

Saving your API token with Qiskit

from qiskit_ibm_provider import IBMProvider
IBMProvider.save_account(token=<INSERT_IBM_QUANTUM_TOKEN>)