QCOptize Constructing basis change circuits for rotating Hamiltonian terms grouped into commuting clusters into Z basis.