Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong variable name in documentation for IonQ-Plugin - API-Key #95

Open
p3nrose opened this issue Jan 1, 2024 · 1 comment
Open

Wrong variable name in documentation for IonQ-Plugin - API-Key #95

p3nrose opened this issue Jan 1, 2024 · 1 comment

Comments

@p3nrose
Copy link

p3nrose commented Jan 1, 2024

In the documentation https://docs.pennylane.ai/projects/ionq/en/latest/index.html the variable name for the api key is IONQ_API_KEY but this wont work.
The variable name in the config.toml file should be api_key = "YOUR-IONQ-KEY". I tested it and it works 😉

[main]
# global settings

[ionq.global]
# Global option for  the IonQ plugin
api_key = "ABCD1234_YOUR_KEY"
@rajkk1
Copy link

rajkk1 commented Apr 24, 2024

Interesting find! It turns out however that if create an environment variable IONQ_API_KEY with your API key, then it still works as expected. I guess the documentation should be changed a little bit :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants