The United States and Qatar signed an agreement on combating terrorism and its financing during a visit to Doha by US Secretary of State Rex Tillerson.