Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
If two quadratic forms over $\mathbb{Q}_p$ have the same rank, discriminant and Hasse invariant, then they are equivalent.