ChunkPart
class samplomatic.quantum_program.ChunkPart(idx_item: int, size: int)
Bases: object
A description of the contents of a single part of an execution chunk.
Attributes Summary
コラム「 1 」 | コラム「 2 」 |
|---|---|
idx_item | The index of an item in a quantum program. |
size | The 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.
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。