Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/guides/max-execution-time.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"id": "a0d6acc5-754c-4955-8cf0-5e3e12b9dd1f",
"metadata": {},
"source": [
"To ensure fairness, there is a [service-calculated](#max-QPU) maximum amount of time each Qiskit Runtime job can run. If a job exceeds this time limit, it is forcibly canceled and a `RuntimeJobMaxTimeoutError` exception is raised. You can also [set a maximum execution time](#max-job) on your jobs to help control costs.\n",
"To ensure fairness, there is a [service-enforced](#max-QPU) maximum amount of time each Qiskit Runtime job can run. If a job exceeds this time limit, it is forcibly canceled and a `RuntimeJobMaxTimeoutError` exception is raised. You can also [set a maximum execution time](#max-job) on your jobs to help control costs.\n",
"\n",
"\n",
" <Admonition>\n",
Expand All @@ -42,7 +42,7 @@
"The maximum execution time for a job is the smaller of these values:\n",
"\n",
"- The value set for `max_execution_time`\n",
"- The service-determined job timeout value\n",
"- The service-enforced maximum limit (three hours)\n",
"\n",
"The `max_execution_time` value is based on *QPU usage*, not wall clock time.\n",
"\n",
Expand All @@ -68,11 +68,11 @@
"```\n",
"\n",
"<span id=\"max-QPU\"></span>\n",
"## Service-calculated maximum execution time\n",
"## Service-enforced maximum execution time\n",
"\n",
"The service calculates an appropriate job timeout value based on the input circuits and options. This service-calculated timeout is capped at 3 hours to ensure fair device usage. If a `max_execution_time` is also specified for the job, the lesser of the two values is used.\n",
"The service enforces a maximum execution time limit of three hours to ensure fair device usage. If a `max_execution_time` is also specified for the job, the lesser of the two values is used.\n",
"\n",
"For example, if you specify `max_execution_time=5000` (approximately 83 minutes), but the service determines it should not take more than 5 minutes (300 seconds) to execute the job, then the job is canceled after 5 minutes.\n",
"For example, if you specify `max_execution_time=5000` (approximately 83 minutes), then the job is canceled after approximately 83 minutes, even though the service could allow it to run for three hours.\n",
"\n",
"<span id=\"batch-max-time\"></span>\n",
"## Batch maximum execution time\n",
Expand Down
Loading