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

Allow targetProfile setting in qsharp.json #1049

Open
minestarks opened this issue Jan 19, 2024 · 2 comments
Open

Allow targetProfile setting in qsharp.json #1049

minestarks opened this issue Jan 19, 2024 · 2 comments
Labels
design needed enhancement New feature or request

Comments

@minestarks
Copy link
Member

Today, we allow configuring the target profile in VS Code and in Python (through qsharp.init) but there is no way to persist the profile setting along with a qsharp.json project.

We can add a new field, targetProfile to qsharp.json. The compiler, language service and Python library would respect this setting. This configuration would override the existing means of setting the target profile (VSCode setting and qsharp.init).

@minestarks minestarks added enhancement New feature or request needs triage labels Jan 19, 2024
@cesarzc
Copy link
Contributor

cesarzc commented Feb 1, 2024

@minestarks if you start working on this could we sync? Before allowing that I think it would be worth considering options for targets that include "adaptive profile".

@sezna
Copy link
Contributor

sezna commented Feb 23, 2024

@cesarzc do you think it'd also be useful if we allowed a list of specific runtime capabilities, in addition to target profile presets? the target profile presets would just be a known alias of runtime capabilities, as we've discussed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design needed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants