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

Use a default target when submitting to Azure Quantum - #290

Merged
Brianna Marshall (bamarsha) merged 6 commits into
masterfrom
samarsha/default-target
Jul 6, 2020
Merged

Use a default target when submitting to Azure Quantum#290
Brianna Marshall (bamarsha) merged 6 commits into
masterfrom
samarsha/default-target

Conversation

@bamarsha

@bamarsha Brianna Marshall (bamarsha) commented Jul 1, 2020

Copy link
Copy Markdown
Contributor

If the ExecutionTarget assembly constant is blank, --target is required. Otherwise, --target is optional and uses the value of ExecutionTarget as its default value.

This is possible because microsoft/qsharp-compiler#503 changed the value of ExecutionTarget to be the original string specified in the project file, e.g. "ionq.qpu", instead of "IonQProcessor".

Comment thread src/Simulation/EntryPointDriver/Azure.cs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bamarsha
Brianna Marshall (bamarsha) merged commit 0997916 into master Jul 6, 2020
@bamarsha
Brianna Marshall (bamarsha) deleted the samarsha/default-target branch July 6, 2020 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants