Skip to main content
IBM Quantum Platform
번역 정보

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

CircuitItem

class samplomatic.quantum_program.CircuitItem(circuit: QuantumCircuit, *, circuit_arguments: ndarray | None = None, chunk_size: int | None = None)

GitHub

Bases: QuantumProgramItem

An item of a QuantumProgram containing a circuit and its arguments.

Parameters

  • circuit – The circuit to be executed.
  • circuit_arguments – A real-valued array of parameter values for the circuit. The last axis is intrinsic with size equal to the number of circuit parameters. Leading axes are extrinsic and define the sweep grid. For example, shape (5, 3, n) means 5×3=15 configurations for a circuit with n parameters.
  • chunk_size – The maximum number of bound circuits in each shot loop execution, or None to use a server-side heuristic to optimize speed. When not executing in a session, the server-side heuristic is always used and this value is ignored.

Attributes Summary

칼럼 1
칼럼 2
shapeThe extrinsic shape of this item, i.e. the broadcasted extrinsic shapes of all inputs.

Attributes Documentation

shape

The extrinsic shape of this item, i.e. the broadcasted extrinsic shapes of all inputs.

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