Skip to content

CreateQuantumTaskRequest

Source code in docs_src/capo_braket/types/create_quantum_task_request.py
class CreateQuantumTaskRequest(TypedDict, closed=True):
    client_token: "capo_braket.types.string64.String64"
    """<p>The client token associated with the request.</p>"""
    device_arn: "capo_braket.types.device_arn.DeviceArn"
    """<p>The ARN of the device to run the quantum task on.</p>"""
    device_parameters: NotRequired["capo_braket.types.json_value.JsonValue"]
    """<p>The parameters for the device to run the quantum task on.</p>"""
    shots: "int"
    """<p>The number of shots to use for the quantum task.</p>"""
    output_s3_bucket: "str"
    """<p>The S3 bucket to store quantum task result files in.</p>"""
    output_s3_key_prefix: "str"
    r"""<p>The key prefix for the location in the S3 bucket to store quantum task results in. For example, <code>results/</code>. Must not contain path traversal sequences such as <code>../</code> or <code>./</code>. The following characters are not valid in the key prefix:</p> <ul> <li> <p>Braces (<code>{</code> or <code>}</code>)</p> </li> <li> <p>Brackets (<code>[</code> or <code>]</code>)</p> </li> <li> <p>Less than or greater than sign (<code>&lt;</code> or <code>&gt;</code>)</p> </li> <li> <p>Backslash (<code>\</code>)</p> </li> <li> <p>Vertical bar or pipe (<code>|</code>)</p> </li> <li> <p>Caret or circumflex (<code>^</code>)</p> </li> <li> <p>Tilde (<code>~</code>)</p> </li> <li> <p>Grave accent or backtick (<code>`</code>)</p> </li> <li> <p>Percent character (<code>%</code>)</p> </li> <li> <p>Pound sign (<code>#</code>)</p> </li> <li> <p>Quotation mark (<code>"</code>)</p> </li> <li> <p>Non-printable ASCII characters (128–255 decimal characters)</p> </li> </ul>"""
    action: "capo_braket.types.json_value.JsonValue"
    """<p>The action associated with the quantum task.</p>"""
    tags: NotRequired["capo_braket.types.tags_map.TagsMap"]
    """<p>Tags to be added to the quantum task you're creating.</p>"""
    job_token: NotRequired["capo_braket.types.job_token.JobToken"]
    """<p>The token for an Amazon Braket hybrid job that associates it with the quantum task.</p>"""
    associations: NotRequired["capo_braket.types.associations.Associations"]
    """<p>The list of Amazon Braket resources associated with the quantum task.</p>"""
    experimental_capabilities: NotRequired[
        "capo_braket.types.experimental_capabilities.ExperimentalCapabilities"
    ]
    """<p>Enable experimental capabilities for the quantum task.</p>"""

action instance-attribute

action: JsonValue

The action associated with the quantum task.

associations instance-attribute

associations: NotRequired[Associations]

The list of Amazon Braket resources associated with the quantum task.

client_token instance-attribute

client_token: String64

The client token associated with the request.

device_arn instance-attribute

device_arn: DeviceArn

The ARN of the device to run the quantum task on.

device_parameters instance-attribute

device_parameters: NotRequired[JsonValue]

The parameters for the device to run the quantum task on.

experimental_capabilities instance-attribute

experimental_capabilities: NotRequired[ExperimentalCapabilities]

Enable experimental capabilities for the quantum task.

job_token instance-attribute

job_token: NotRequired[JobToken]

The token for an Amazon Braket hybrid job that associates it with the quantum task.

output_s3_bucket instance-attribute

output_s3_bucket: str

The S3 bucket to store quantum task result files in.

output_s3_key_prefix instance-attribute

output_s3_key_prefix: str

The key prefix for the location in the S3 bucket to store quantum task results in. For example, results/. Must not contain path traversal sequences such as ../ or ./. The following characters are not valid in the key prefix:

  • Braces ({ or })

  • Brackets ([ or ])

  • Less than or greater than sign (< or >)

  • Backslash (\)

  • Vertical bar or pipe (|)

  • Caret or circumflex (^)

  • Tilde (~)

  • Grave accent or backtick (`)

  • Percent character (%)

  • Pound sign (#)

  • Quotation mark (")

  • Non-printable ASCII characters (128–255 decimal characters)

shots instance-attribute

shots: int

The number of shots to use for the quantum task.

tags instance-attribute

tags: NotRequired[TagsMap]

Tags to be added to the quantum task you're creating.