concurrence
concurrence(state)
Calculate the concurrence.
Parameters
state (np.array) – a quantum state (1x4 array) or a density matrix (4x4 array)
Returns
concurrence.
Return type
float
Raises
Exception – if attempted on more than two qubits.
Was this page helpful?
Report a bug or request content on GitHub.