three_qubit_gate
ThreeQubitGate
Bases: Gate
Source code in opensquirrel/ir/three_qubit_gate.py
accept
Accepts visitor and processes this IR node.
is_identity
Checks if the three-qubit gate is an identity gate.
Returns:
| Type | Description |
|---|---|
bool
|
True if the three-qubit gate is an identity gate, False otherwise. |