IBMExperimentService.create_experiment

IBMExperimentService.create_experiment(data, provider=None, json_encoder=<class 'json.encoder.JSONEncoder'>)[source]

Create a new experiment in the database.

Parameters:
  • data (ExperimentData) – The dataclass containing the experiment’s data

  • provider (Optional[Any]) – The provider used when running the experiment

  • json_encoder (Type[JSONEncoder]) – Custom JSON encoder to use to encode the experiment.

Return type:

dict

Returns:

Experiment ID.

Raises:
Returns:

The upload response data