QCoder Benchmark: Bridging Language Generation and Quantum Hardware through Simulator-Based Feedback