Pataliputra was NOT the capital of the modern state of Bihar. It was the capital of the ancient Magadha Empire (c. 5th century BCE – 5th century CE), one of India's greatest classical powers.
Today, the archaeological site of Pataliputra lies within the city of Patna, which IS the capital of the Indian state of Bihar.
The continuity of location makes Patna one of the world's oldest continuously inhabited capital cities.