Skip to main content
IBM Quantum Platform
Informations sur la traduction

D'autres traductions de cette page seront bientôt disponibles.

ChunkPart

class samplomatic.quantum_program.ChunkPart(idx_item: int, size: int)

GitHub

Bases: object

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

Attributes Summary

Chronique « 1 »
Chronique « 2 »
idx_itemThe index of an item in a quantum program.
sizeThe number of elements from the quantum program item that were executed.

Attributes Documentation

idx_item

Type: int

Default value: <dataclasses._MISSING_TYPE object>

The index of an item in a quantum program.

size

Type: int

Default value: <dataclasses._MISSING_TYPE object>

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.

Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.