Identifying Bug Patterns In Quantum Programs