Module qcs_api_client_common::configuration
source · [−]Expand description
This module is used for loading configuration that will be used to connect either to real QPUs (and supporting services) or the QVM.
By default, all settings are loaded from files located
under your home directory in a .qcs folder. settings.toml will be used to load general
settings (e.g. which URLs to connect to) and secrets.toml will be used to load tokens for
authentication. Both “settings” and “secrets” files should contain profiles. The
default_profile_name in settings sets the profile to be used when there is no override. You
can set the PROFILE_NAME_VAR to select a different profile. You can also use
SECRETS_PATH_VAR and SETTINGS_PATH_VAR to change which files are loaded.
Structs
All the config data that’s parsed from config sources
A single type containing an access token and an associated refresh token.
Enums
Errors that may occur while loading a
Configuration.Errors that may occur while refreshing the access token.
Constants
Default URL to access the QCS API.
Default URL to access the gRPC API.
Default URL to access
quilc.Default URL to access QVM.
Setting this environment variable will change which profile is used from the loaded config files
Setting the
QCS_SECRETS_FILE_PATH environment variable will change which file is used for loading secretsSetting the
QCS_SETTINGS_FILE_PATH environment variable will change which file is used for loading settings