Based on the information provided, the type of tax that Country Q has implemented is B. a tariff.
A tariff is defined as a tax or duty to be paid on an import or export. Since the government has implemented a new tax on goods that are being imported, they have created a tariff on those items. Now that there is a tariff in place, the government will collect more money on the taxable items coming into the country.