Skip to content

Creates a quantum task

Description

Creates a quantum task.

Usage

braket_create_quantum_task(clientToken, deviceArn, deviceParameters,
  shots, outputS3Bucket, outputS3KeyPrefix, action, tags, jobToken,
  associations, experimentalCapabilities)

Arguments

  • clientToken

    [required] The client token associated with the request.

  • deviceArn

    [required] The ARN of the device to run the quantum task on.

  • deviceParameters

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

  • shots

    [required] The number of shots to use for the quantum task.

  • outputS3Bucket

    [required] The S3 bucket to store quantum task result files in.

  • outputS3KeyPrefix

    [required] The key prefix for the location in the S3 bucket to store quantum task results in.

  • action

    [required] The action associated with the quantum task.

  • tags

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

  • jobToken

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

  • associations

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

  • experimentalCapabilities

    Enable experimental capabilities for the quantum task.

Value

A list with the following syntax:

list(
  quantumTaskArn = "string"
)

Request syntax

svc$create_quantum_task(
  clientToken = "string",
  deviceArn = "string",
  deviceParameters = "string",
  shots = 123,
  outputS3Bucket = "string",
  outputS3KeyPrefix = "string",
  action = "string",
  tags = list(
    "string"
  ),
  jobToken = "string",
  associations = list(
    list(
      arn = "string",
      type = "RESERVATION_TIME_WINDOW_ARN"
    )
  ),
  experimentalCapabilities = list(
    enabled = "ALL"|"NONE"
  )
)