Theory And Application Of Open Quantum Systems