Skip to content

/AWS1/CL_BRK=>CREATEQUANTUMTASK()

About CreateQuantumTask

Creates a quantum task.

Method Signature

IMPORTING

Required arguments:

IV_CLIENTTOKEN TYPE /AWS1/BRKSTRING64 /AWS1/BRKSTRING64

The client token associated with the request.

IV_DEVICEARN TYPE /AWS1/BRKDEVICEARN /AWS1/BRKDEVICEARN

The ARN of the device to run the task on.

IV_SHOTS TYPE /AWS1/BRKLONG /AWS1/BRKLONG

The number of shots to use for the task.

IV_OUTPUTS3BUCKET TYPE /AWS1/BRKSTRING /AWS1/BRKSTRING

The S3 bucket to store task result files in.

IV_OUTPUTS3KEYPREFIX TYPE /AWS1/BRKSTRING /AWS1/BRKSTRING

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

IV_ACTION TYPE /AWS1/BRKJSONVALUE /AWS1/BRKJSONVALUE

The action associated with the task.

Optional arguments:

IV_DEVICEPARAMETERS TYPE /AWS1/BRKJSONVALUE /AWS1/BRKJSONVALUE

The parameters for the device to run the task on.

IT_TAGS TYPE /AWS1/CL_BRKTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

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

IV_JOBTOKEN TYPE /AWS1/BRKJOBTOKEN /AWS1/BRKJOBTOKEN

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

IT_ASSOCIATIONS TYPE /AWS1/CL_BRKASSOCIATION=>TT_ASSOCIATIONS TT_ASSOCIATIONS

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BRKCREQUANTUMTASKRSP /AWS1/CL_BRKCREQUANTUMTASKRSP