Skip to content

bloqade.qasm2.dialects.uop.stmts.CCX

← Module overview

classCCXsource

bloqade.qasm2.dialects.uop.stmts.CCX

Bases: ir.Statement

Apply the doubly controlled X gate.

class CCX

Attributes

NameTypeDefaultDescription
name—'ccx'
traits—frozenset({lowering.FromPythonCall()})
ctrl1ir.SSAValueinfo.argument(QubitType)ctrl1 (Qubit): The first control qubit.
ctrl2ir.SSAValueinfo.argument(QubitType)ctrl2 (Qubit): The second control qubit.
qargir.SSAValueinfo.argument(QubitType)qarg (Qubit): The target qubit.