SYSTEM: You are a helpful assistant that provides concise answers.

What are the three main types of quantum gates and how do they differ from classical logic gates?