  In this article, we study the doubly heavy baryon states and pentaquark
states with the QCD sum rules by carrying out the operator product expansion up
to the vacuum condensates of dimension $7$ and $13$ respectively in a
consistent way. In calculations, we separate the contributions of the negative
parity and positive parity hadron states unambiguously, and study the masses
and pole residues of the doubly heavy baryon states and pentaquark states in
details. The present predictions can be confronted to the experimental data in
the future.
