Skip to main content
IBM Quantum Platform
번역 정보

이 페이지의 추가 언어 번역이 곧 제공될 예정입니다.

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

칼럼 1
칼럼 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.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.