Skip to content

Commit 33e686d

Browse files
committed
Update deprecation message and doc
1 parent 3c3d3e9 commit 33e686d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/quantum/azext_quantum/_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def load_arguments(self, _): # pylint: disable=too-many-locals
3636
storage_account_name_type = CLIArgumentType(options_list=['--storage-account', '-a'], help='Name of the storage account to be used by a quantum workspace.')
3737
program_args_type = CLIArgumentType(nargs='*', help='List of arguments expected by the Q# operation specified as --name=value after `--`.')
3838
target_id_type = CLIArgumentType(options_list=['--target-id', '-t'], help='Execution engine for quantum computing jobs. When a workspace is configured with a set of providers, they each enable one or more targets. You can configure the default target using `az quantum target set`.', configured_default='target_id')
39-
project_type = CLIArgumentType(help='[Becoming deprecated] The location of the Q# project to submit. Defaults to current folder.')
39+
project_type = CLIArgumentType(help='[Deprecated] The location of the Q# project to submit. Defaults to current folder.')
4040
job_name_type = CLIArgumentType(help='A friendly name to give to this run of the program.')
4141
job_id_type = CLIArgumentType(options_list=['--job-id', '-j'], help='Job unique identifier in GUID format.')
4242
job_params_type = CLIArgumentType(options_list=['--job-params'], help='Job parameters passed to the target as a list of key=value pairs, json string, or `@{file}` with json content.', action=JobParamsAction, nargs='+')
4343
target_capability_type = CLIArgumentType(options_list=['--target-capability'], help='Target-capability parameter passed to the compiler.')
4444
shots_type = CLIArgumentType(help='The number of times to run the Q# program on the given target.')
45-
no_build_type = CLIArgumentType(help='[Becoming deprecated] If specified, the Q# program is not built before submitting.')
45+
no_build_type = CLIArgumentType(help='[Deprecated] If specified, the Q# program is not built before submitting.')
4646
storage_type = CLIArgumentType(help='If specified, the ConnectionString of an Azure Storage is used to store job data and results.')
4747
max_poll_wait_secs_type = CLIArgumentType(help='Poll time in seconds to query Azure Quantum for results of the corresponding job.')
4848
tag_type = CLIArgumentType(help='Show only quantum workspaces that have associated the specified tag.')

src/quantum/azext_quantum/operations/job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def _submit_qsharp(cmd, program_args, resource_group_name, workspace_name, locat
470470
"""
471471
Submit a Q# project to run on Azure Quantum.
472472
"""
473-
_show_warning('The direct submission of Q# programs will soon be deprecated. Instead, you can submit QIR bitcode or LLVM. Modern QDK can be used to generate LLVM from Q#.')
473+
_show_warning('The direct submission of Q# project folders will soon be fully deprecated. Instead, you can submit QIR bitcode or human-readable LLVM code. Modern QDK can be used to generate human-readable LLVM code from Q#.')
474474
# We first build and then call run.
475475
# Can't call run directly because it fails to understand the
476476
# `ExecutionTarget` property when passed in the command line

0 commit comments

Comments
 (0)