make_credentials_for_ibmq

fireopal.credentials.make_credentials_for_ibmq(token, group, hub, project)

Make a Credentials dictionary for IBM Quantum.

Parameters:
  • token (str) – The IBM Quantum account token.

  • group (str) – The IBM Quantum group.

  • hub (str) – The IBM Quantum hub.

  • project (str) – The IBM Quantum project.

Returns:

Credentials – A dictionary usable for the credentials argument of any Fire Opal function using IBM Quantum.

Return type:

Dict[str, str]

Notes

This function performs only basic type checking of the credentials it receives. It does not check whether the credentials are valid for hardware access.