A BitFlip quantum channel performs a bit-flip operation on a qubit with probability "p", and with probability "1-p" the identity operator is applied. The resulting state after the execution of the channel is always a random mixed state because it simulates entanglement with the environment.
Install the Quantum Framework paclet:
In[1]:=
PacletInstall["Wolfram/QuantumFramework"]
Load the paclet:
In[2]:=
Needs["Wolfram`QuantumFramework`"]
Compute the matrix form of the BitFlip Kraus operators: