Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

警告

The package qiskit-ibmq-provider is being deprecated and its repo is going to be archived soon. Please transition to the new packages. More information in https://ibm.biz/provider_migration_guide

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