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

Enums

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 override the URL used to connect to the GRPC server.
  • Setting this environment variable will change which profile is used from the loaded config files
  • Setting this environment variable will override the URL used to access quilc.
  • Setting this environment variable will override the URL used to access the QVM.
  • Setting the QCS_SECRETS_FILE_PATH environment variable will change which file is used for loading secrets
  • Setting the QCS_SETTINGS_FILE_PATH environment variable will change which file is used for loading settings

Traits