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

Issues for Azure Quantum #2956

Open
qwordy opened this issue Feb 1, 2021 · 2 comments
Open

Issues for Azure Quantum #2956

qwordy opened this issue Feb 1, 2021 · 2 comments
Assignees
Labels
Quantum az quantum

Comments

@qwordy
Copy link
Member

qwordy commented Feb 1, 2021

  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)

Azure Quantum

Description of issue (in as much detail as possible)

In submit() method, there is a line

token = _get_data_credentials(cmd.cli_ctx, ws.subscription).get_token().token

I rarely see usage like this. Token of subscription is handled by Azure CLI framework. It will be put in Authorization header in HTTP request. Even extra tokens are handled well in Azure CLI. They will be put in x-ms-authorization-auxiliary header. We don't need to fetch and pass token manually in command implementation.

Positional
    <PROGRAM_ARGS>      : List of arguments expected by the Q# operation specified as --name=value
                          after `--`.
az quantum job submit -g fy -w w -l l --target-id t -- --a=b --b=c

I search -- -- in Azure CLI and Azure CLI extension all examples and find no usage. Actually, I don't have suggestions on it. No requested change now.


@ricardo-espinoza
Copy link
Contributor

Thanks @qwordy . We will address this feedback in our next release.

@qwordy
Copy link
Member Author

qwordy commented Feb 1, 2021

@ricardo-espinoza I have merged 0.1.0. This issue can be discussed and resolved in later releases.

@qwordy qwordy added the Quantum az quantum label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quantum az quantum
Projects
None yet
Development

No branches or pull requests

2 participants