Added condition checks for adiing gates
Added condition checks for adding gates
Merge pull request #152 from anubhavvardhan/quantum_circuit

Added condition checks for adding gates