qiskit_serverless.serializers.get_arguments

get_arguments()[source]

Parses arguments for program and returns them as dict.

Reads the file path specified by the ARGUMENTS_PATH environment variable, which is set by the runner (Ray or Fleets) at job submission.

Return type:

Dict[str, Any]

Returns:

Dictionary of arguments.