QCS Client Configuration
Details on environment configuration for QCS clients.
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 secrets.toml and settings.toml files at https://qcs.rigetti.com/auth/token
Environment Variables and Configuration Files
QCS clients derive configuration from the environment:
QCS_PROFILE_NAMEName of settings profile to use (optional)
QCS_SETTINGS_PATHorQCS_SETTINGS_FILE_PATHFile path to API configurations options toml file, default is
~/.qcs/settings.toml
QCS_SECRETS_PATHorQCS_SECRETS_FILE_PATHFile path to API authentication token toml file, default is
~/.qcs/secrets.toml
QCS_SETTINGS_APPLICATIONS_PYQUIL_QVM_URLURL to use for QVM when running pyQuil, default is
http://127.0.0.1:5000
QCS_SETTINGS_APPLICATIONS_PYQUIL_QUILC_URLURL to use for quilc when running pyQuil, default is
tcp://127.0.0.1:5555
QCS Settings File
A toml -formatted file with configuration details for using QCS Clients.
An annotated example:
QCS Secrets File
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 https://qcs.rigetti.com/auth/token
Note that this file contains secrets and should be kept safe!
Last updated
Was this helpful?