make_credentials_for_ionq

fireopal.credentials.make_credentials_for_ionq(token)

Build credentials for accessing IonQ quantum backends.

Use this function when you want to run circuits on IonQ devices through Fire Opal. Pass the returned Credentials dict as the credentials argument to functions such as solve_qaoa().

Parameters

token (str) – Your IonQ API token. Retrieve this from the IonQ Cloud console under “API Keys”.

Returns

Credentials

A dict of the form:

{"provider": "ionq", "IONQ_API_KEY": token}

Notes

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

Was this useful?