Stinespring factorization theorem