Complex Matrix Calculator (Density Matrix)

Work with matrices of complex numbers: determinant, inverse, trace, conjugate transpose, Hermitian check and the purity Tr(ρ²) of a density matrix.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Write each entry as a + bi (e.g. 2-3i, i, 0.5); rows separated by semicolons. A valid density matrix is Hermitian with trace 1; purity 1 means a pure state.

Example

Example: ρ = [[0.5, 0.5i], [−0.5i, 0.5]] has trace 1 and purity 1 (a pure state).

Assumptions

Up to 6 × 6.

Frequently Asked Questions

What is a Hermitian matrix?

One equal to its conjugate transpose — its eigenvalues are real.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile