Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Submitting to Azure Quantum hardware targets from localized environments with decimal separators other than . can fail #1119

Open
swernli opened this issue Jan 27, 2023 · 0 comments
Labels
bug Something isn't working needs triage An initial review by a maintainer is needed

Comments

@swernli
Copy link
Collaborator

swernli commented Jan 27, 2023

Issue

When submitting to Azure Quantum from local notebooks or the cmdline using the non-QIR translation, localization settings can cause rotation angles to show up with decimal separators other than ., ie: 3,14 instead of 3.14, resulting in failure to compile the program. This most often manifests as a job failure after submission to hardware with the message include "1000: Compile error" and "Wrong number of gate parameters."

Mitigation

Try configuring the local environment for en-US before submitting, or upload affected notebooks to the Azure Quantum workspace and submit from the hosted notebooks.

@swernli swernli added bug Something isn't working needs triage An initial review by a maintainer is needed labels Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs triage An initial review by a maintainer is needed
Projects
None yet
Development

No branches or pull requests

1 participant