Quantra-Algorithm