Skip to content

GetQuantumTaskResponse

Source code in docs_src/capo_braket/types/get_quantum_task_response.py
class GetQuantumTaskResponse(TypedDict, closed=True):
    quantum_task_arn: "capo_braket.types.quantum_task_arn.QuantumTaskArn"
    """<p>The ARN of the quantum task.</p>"""
    status: "capo_braket.types.quantum_task_status.QuantumTaskStatus"
    """<p>The status of the quantum task.</p>"""
    failure_reason: NotRequired["str"]
    """<p>The reason that a quantum task failed.</p>"""
    device_arn: "capo_braket.types.device_arn.DeviceArn"
    """<p>The ARN of the device the quantum task was run on.</p>"""
    device_parameters: "capo_braket.types.json_value.JsonValue"
    """<p>The parameters for the device on which the quantum task ran.</p>"""
    shots: "int"
    """<p>The number of shots used in the quantum task.</p>"""
    output_s3_bucket: "str"
    """<p>The S3 bucket where quantum task results are stored.</p>"""
    output_s3_directory: "str"
    """<p>The folder in the S3 bucket where quantum task results are stored.</p>"""
    created_at: "datetime.datetime"
    """<p>The time at which the quantum task was created.</p>"""
    ended_at: NotRequired["datetime.datetime"]
    """<p>The time at which the quantum task ended.</p>"""
    tags: NotRequired["capo_braket.types.tags_map.TagsMap"]
    """<p>The tags that belong to this quantum task.</p>"""
    job_arn: NotRequired["capo_braket.types.job_arn.JobArn"]
    """<p>The ARN of the Amazon Braket job associated with the quantum task.</p>"""
    queue_info: NotRequired[
        "capo_braket.types.quantum_task_queue_info.QuantumTaskQueueInfo"
    ]
    """<p>Queue information for the requested quantum task. Only returned if <code>QueueInfo</code> is specified in the <code>additionalAttributeNames"</code> field in the <code>GetQuantumTask</code> API request.</p>"""
    associations: NotRequired["capo_braket.types.associations.Associations"]
    """<p>The list of Amazon Braket resources associated with the quantum task.</p>"""
    num_successful_shots: NotRequired["int"]
    """<p>The number of successful shots for the quantum task. This is available after a successfully completed quantum task.</p>"""
    action_metadata: NotRequired["capo_braket.types.action_metadata.ActionMetadata"]
    """<p>Metadata about the action performed by the quantum task, including information about the type of action and program counts.</p>"""
    experimental_capabilities: NotRequired[
        "capo_braket.types.experimental_capabilities.ExperimentalCapabilities"
    ]
    """<p>Enabled experimental capabilities for the quantum task, if any.</p>"""

action_metadata instance-attribute

action_metadata: NotRequired[ActionMetadata]

Metadata about the action performed by the quantum task, including information about the type of action and program counts.

associations instance-attribute

associations: NotRequired[Associations]

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

created_at instance-attribute

created_at: datetime

The time at which the quantum task was created.

device_arn instance-attribute

device_arn: DeviceArn

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

device_parameters instance-attribute

device_parameters: JsonValue

The parameters for the device on which the quantum task ran.

ended_at instance-attribute

ended_at: NotRequired[datetime]

The time at which the quantum task ended.

experimental_capabilities instance-attribute

experimental_capabilities: NotRequired[ExperimentalCapabilities]

Enabled experimental capabilities for the quantum task, if any.

failure_reason instance-attribute

failure_reason: NotRequired[str]

The reason that a quantum task failed.

job_arn instance-attribute

job_arn: NotRequired[JobArn]

The ARN of the Amazon Braket job associated with the quantum task.

num_successful_shots instance-attribute

num_successful_shots: NotRequired[int]

The number of successful shots for the quantum task. This is available after a successfully completed quantum task.

output_s3_bucket instance-attribute

output_s3_bucket: str

The S3 bucket where quantum task results are stored.

output_s3_directory instance-attribute

output_s3_directory: str

The folder in the S3 bucket where quantum task results are stored.

quantum_task_arn instance-attribute

quantum_task_arn: QuantumTaskArn

The ARN of the quantum task.

queue_info instance-attribute

queue_info: NotRequired[QuantumTaskQueueInfo]

Queue information for the requested quantum task. Only returned if QueueInfo is specified in the additionalAttributeNames" field in the GetQuantumTask API request.

shots instance-attribute

shots: int

The number of shots used in the quantum task.

status instance-attribute

The status of the quantum task.

tags instance-attribute

tags: NotRequired[TagsMap]

The tags that belong to this quantum task.