Skip to main contentIBM Quantum Documentation Mirror

ChunkPart

pydantic model ChunkPart

GitHub

Bases: BaseModel

A description of the contents of a single part of an execution chunk.

idx_item

field

Type: int [Required]

The index of an item in a quantum program.

size

field

Type: int [Required]

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.