Resource Allocation in Quantum Networks for Distributed Quantum Computing