The single-electron spin logical gates based on tunnel-coupled quantum dots with both antiferromagnetic and ferromagnetic interaction between the electron spins localized on adjacent dots are studied. It is demonstrated that the introduction of ''ferromagnetic chains'' into the gate structure and application of local constant magnetic fields acting on individual dots can substantially improve its physical truth table and make it suitable for incorporation into a large circuit of similar gates.