Skip to content

Commit

Permalink
Add max execution time to faq (Qiskit/qiskit-ibm-runtime#294)
Browse files Browse the repository at this point in the history
* Add maximum execution time to faq

* Adjust headings

* Make heading a question

* change 's to is in the first FAQ

* Fix title overline too short

* split faqs into different files

* Fix breadcrumbs

Co-authored-by: Rathish Cholarajan <[email protected]>
  • Loading branch information
HuangJunye and rathishcholarajan authored May 2, 2022
0 parents commit df633c8
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
41 changes: 41 additions & 0 deletions runtime-docs/faqs/max_execution_time.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.. _faqs/max_execution_time:

============================================================
What is the maximum execution time for a Qiskit Runtime job?
============================================================

To ensure fairness, there is a maximum execution time for each Qiskit Runtime job. If
a job exceeds this time limit, it is forcibly cancelled. This is represented in the job
status as `Cancelled - Ran too long`. The maximum execution time is the
smaller of 1) the system limit and 2) the ``max_execution_time`` defined by the program.
The system limit is defined below:

Qiskit Runtime on IBM Cloud
---------------------------

The system limit on the job execution time is 3 hours for a job running on a simulator
and 8 hours for a job running on a physical system.

Qiskit Runtime on IBM Quantum
-----------------------------

The system limit on the job execution time is

+------------------+--------------+-----------+--------------+-----------+
| | Public Program | Private Program |
+==================+==============+===========+==============+===========+
| | Premium User | Open User | Premium User | Open User |
+------------------+--------------+-----------+--------------+-----------+
| Simulated Device | 3h | 1h | 3h |1h |
+------------------+--------------+-----------+--------------+-----------+
| Real Device | 8h | 4h | 8h |2h |
+------------------+--------------+-----------+--------------+-----------+

Note that a *premium user* here means a user who has access to backends in providers other than ibm-q/open/main.


Other Limitations
-----------------

- Programs cannot exceed 750KB in size.
- Inputs to jobs cannot exceed 64MB in size.
9 changes: 9 additions & 0 deletions runtime-docs/faqs/open_source_vs_ibm_cloud_primitives.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _faqs/open_source_vs_ibm_cloud_primitives:

=================================================================================================
What is the difference between the open source primitives and primitives available via IBM Cloud?
=================================================================================================

The open source primitive contains the base classes (to define interfaces) and a reference implementation.
The Qiskit Runtime primitive is planned to provide more sophisticated implementation (such as with error
mitigation) as runtime service.

0 comments on commit df633c8

Please sign in to comment.