Skip to content

Commit

Permalink
remove 5 circ limit on circuit runner (Qiskit#55)
Browse files Browse the repository at this point in the history
* remove 5 circ limit on circuit runner

* remove payload size from readme
  • Loading branch information
nonhermitian authored Jun 23, 2021
1 parent 99d05e2 commit 6e25df4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
23 changes: 0 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,29 +176,6 @@ provider.runtime.delete_job('JOB_ID')

## Limitations

### Payload size

Qiskit Runtime is still in beta mode, so there is a limit of 127KB on the size of the payload you can send
to a program. To check the size of your payload:

```python
import sys
import json
from qiskit.providers.ibmq.runtime import RuntimeEncoder

# This is the input parameters to be passed to the program.
program_inputs = {
'iterations': 3
}

serialized = json.dumps(program_inputs, cls=RuntimeEncoder)
print(f"input payload size={sys.getsizeof(serialized)}") # Size needs to be smaller than 130048
```

This roughly translates into a five circuit maximum per job.

If your payload is too large, you'll get an error message `'exec user process caused "argument list too long"'`.

### API

Qiskit Runtime is still in beta mode, and heavy modifications to both functionality and API
Expand Down
6 changes: 0 additions & 6 deletions docs/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ Runtime limitations
At present, uploading custom programs to the Qiskit Runtime is not supported.
This will be relaxed in upcoming releases.

- **Five circuit limit per circuit runner job**

The current Qiskit Runtime was designed for executing program scripts,
and is not tailored to large batches of quantum circuits. As such, there
is a size limitation that translates into roughly a five circuit maximum
per job.

.. Hiding - Indices and tables
:ref:`genindex`
Expand Down

0 comments on commit 6e25df4

Please sign in to comment.