OptimizationMetric
class qiskit.transpiler.OptimizationMetric(value)
Bases: Enum
Optimization metric considered during transpilation.
The metric COUNT_2Q targets optimizing the two-qubit gate count of the output circuit. This is generally the preferred choice for near-term execution.
The metric COUNT_T targets optimizing the T-count of the output circuit when the circuit is transpiled into the Clifford+T basis set.
Attributes
COUNT_2Q
기본값: 1
The transpilation is optimized towards minimizing the 2q-count.
COUNT_T
기본값: 2
The transpilation is optimized towards the T-count.
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.