Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was 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

Description

@swernli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageAn initial review by a maintainer is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions