Korean
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.runtime.RuntimeJob.stream_results

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

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