Bug Fix
Fixed error in add_1q_gate