Chinese President Xi Jinping is in Brasilia for a state visit to Brazil after attending the 19th G20 Summit in Rio de Janeiro.