QuantumProgramItem¶
- class QuantumProgramItem(circuit, chunk_size=None)[source]¶
Bases:
ABCAn item of a
QuantumProgram.- Parameters:
circuit (QuantumCircuit) – The circuit to be executed.
chunk_size (int | None) – The maximum number of bound circuits in each shot loop execution, or
Noneto use a server-side heuristic to optimize speed. When not executing in a session, the server-side heuristic is always used and this value is ignored. ignored.
Attributes
- shape¶
The shape of this item when broadcasted over all arguments.
Methods