ControlModifier
class qiskit.circuit.ControlModifier(num_ctrl_qubits=0, ctrl_state=None)
Bases: Modifier
Control modifier: specifies that the operation is controlled by num_ctrl_qubits and has control state ctrl_state.
Attributes
ctrl_state
유형: int | str | None
기본값: None
num_ctrl_qubits
유형: int
기본값: 0
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.