qit.invariant.gate_max_concurrence¶
- qit.invariant.gate_max_concurrence(U: np.array[complex]) float ¶
Maximum concurrence generated by a two-qubit gate.
Returns the maximum concurrence generated by the two-qubit gate U (see [12]), starting from a tensor state.
- Parameters
U (np.array[complex]) – \(U(4)\) matrix
- Returns
maximum concurrence generated by U
- Return type
float
Alternatively, U may be given in terms of a vector of three canonical local invariants.