Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.runtime.RuntimeJob.stream_results

RuntimeJob.stream_results(callback, decoder=None)[source]

Start streaming job results.

প্যারামিটার
  • callback (Callable) --

    Callback function to be invoked for any interim results. The callback function will receive 2 positional parameters:

    1. Job ID

    2. Job interim result.

  • decoder (Optional[Type[ResultDecoder]]) -- A ResultDecoder subclass used to decode job results.

রেইজেস

RuntimeInvalidStateError -- If a callback function is already streaming results or if the job already finished.

রিটার্ন টাইপ

None