DihedralUtils.compose_gates¶
- DihedralUtils.compose_gates(elem, next_elem)[source]¶
Compose two CNOTDihedral objects.
- Parameters
elem (CNOTDihedral) – a CNOTDihedral object.
next_elem (CNOTDihedral) – another CNOTDihedral object.
- Returns
A CNOTDihedral object, that is a composition of the two CNOTDihedral objects.
- Return type