QCS Client Configuration
Details on environment configuration for QCS clients.
Last updated
Was this helpful?
Details on environment configuration for QCS clients.
Last updated
Was this helpful?
One set of configuration values is used for all QCS software on your computer - CLI, pyQuil, all SDKs, etc. Those settings can be applied using a configuration file, environment variables, or at runtime by editing the configuration object in your chosen language's SDK.
Download your personal and files at
QCS clients derive configuration from the environment:
QCS_PROFILE_NAME
Name of settings profile to use (optional)
QCS_SETTINGS_PATH
or QCS_SETTINGS_FILE_PATH
File path to API configurations options toml file, default is ~/.qcs/settings.toml
QCS_SECRETS_PATH
or QCS_SECRETS_FILE_PATH
File path to API authentication token toml file, default is ~/.qcs/secrets.toml
QCS_SETTINGS_APPLICATIONS_PYQUIL_QVM_URL
URL to use for QVM when running pyQuil, default is http://127.0.0.1:5000
QCS_SETTINGS_APPLICATIONS_PYQUIL_QUILC_URL
URL to use for quilc when running pyQuil, default is tcp://127.0.0.1:5555
A toml
-formatted file with configuration details for using QCS Clients.
An annotated example:
Note that this file contains secrets and should be kept safe!
A toml
-formatted file with credentials for authenticating with QCS clients. You shouldn't have to create or edit this file manually - if your file is corrupted, download a new copy at