Export QuantumCircuit and remove useless comments