Skip to content

Create Quantum Task

braket_create_quantum_task R Documentation

Creates a quantum task

Description

Creates a quantum task.

Usage

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

Arguments

action

[required] The action associated with the task.

associations

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

clientToken

[required] The client token associated with the request.

deviceArn

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

deviceParameters

The parameters for the device to run the task on.

jobToken

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

outputS3Bucket

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

outputS3KeyPrefix

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

shots

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

tags

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

Value

A list with the following syntax:

list(
  quantumTaskArn = "string"
)

Request syntax

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