Skip to main content

concurrence

Function concurrence 

Source
pub fn concurrence(state: &TwoQubitState) -> f64
Expand description

Concurrence: entanglement measure for two-qubit pure states. C = 2|ad - bc| where state = a|00> + b|01> + c|10> + d|11>.