The trace identity is extended to the quadratic-form identity. The Hamiltonian structures of the multi-component Guo hierarchy, integrable coupling of Guo hierarchy and (2+1)-dimensional Guo hierarchy are obtained by the quadraticform identity. The method can be used to produce the Hamiltonian structures of the other integrable couplings or multi-component hierarchies.