Concurrence (source code)

= Concurrence
{wiki}

For a normalized pure state of two qubits with coefficient matrix $C$, the concurrence is $2|\det C|$. It ranges from zero for a <product state> to one for a <maximally entangled state>.