Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Documentation] adding entropies, entrpoies is a measure of the amount of randomness or uncertainty ins tate of a quantum system. - creating quantum system the code creates a complex matrix `rho` representing a quantum state using predefined state `st.pb00`, the state is likely defined in the include `clarah.h` header - partial trace calculation the `ptrace()` function is used to compute the partial trace of the quantums state `rho` over subsystem B. the result stored in the matrix `rhoA` - displaying states the `disp()` function is used to display the original quantum state matrix `rho` and the result of the partial trace `rhoA` - entropy calculation the `tsallis()` function is used to calculate the tsallis-1 and tsallis-2 entropies for the quantum matrix `rho`. the calculated entropies displayed - quantum mutual information calculation teh `qmutualinformation()` function to calculation the quantum mutual information between subsystem A and B the quantum state `rho`. the calculated mutual information is displayed Signed-off-by: slowy07 <[email protected]>
- Loading branch information