DihedralUtils.compose_gates

DihedralUtils.compose_gates(elem, next_elem)[source]

Compose two CNOTDihedral objects.

Parameters
Returns

A CNOTDihedral object, that is a composition of the two CNOTDihedral objects.

Return type

CNOTDihedral