Using magic resource to realize probabilistic channel simulation