ChunkPart
class ChunkPart(idx_item, size)
Bases: object
A description of the contents of a single part of an execution chunk.
Attributes
Parameters
- idx_item (int)
- size (int)
idx_item
Type: int
The index of an item in a quantum program.
size
Type: int
The number of elements from the quantum program item that were executed.
For example, if a quantum program item has shape (10, 5), then it has a total of 50 elements, so that if this size is 10, it constitutes 20% of the total work for the item.
Methods
Was this page helpful?
Report a bug, typo, or request content on GitHub.