general_superstaq.superstaq_client

Client for making requests to Superstaq’s API.

Attributes

TQuboKey

Functions

find_api_key(→ str)

Function to try to load a Superstaq API key from the environment or a key file.

Module Contents

general_superstaq.superstaq_client.find_api_key() str

Function to try to load a Superstaq API key from the environment or a key file.

Raises:
  • OSError – If the Superstaq API key could not be found in the environment.

  • EnvironmentError – If the Superstaq API key could not be found.

Returns:

Superstaq API key string.

general_superstaq.superstaq_client.TQuboKey