bloqade.qasm2.dialects.uop.stmts.CCX
← Module overview
class
classCCX¶source
bloqade.qasm2.dialects.uop.stmts.CCX
Bases: ir.Statement
Apply the doubly controlled X gate.
class CCXAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'ccx' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
ctrl1 | ir.SSAValue | info.argument(QubitType) | ctrl1 (Qubit): The first control qubit. |
ctrl2 | ir.SSAValue | info.argument(QubitType) | ctrl2 (Qubit): The second control qubit. |
qarg | ir.SSAValue | info.argument(QubitType) | qarg (Qubit): The target qubit. |