Trapezoid type inequalities for complex functions defined on the unit circle with applications for unitary operators in Hilbert spaces