qbraid.api.init_job

init_job(vendor_job_id, device, circuits, shots)[source]

Initialize data dictionary for new qbraid job and create associated MongoDB job document.

Parameters
  • vendor_job_id (str) – Job ID provided by device vendor

  • device (DeviceLikeWrapper) – Wrapped quantum device

  • circuit – Wrapped quantum circuit list

  • shots (int) – Number of shots

Return type

str

Returns

The qbraid job ID associated with this job