Hello, PennyLane community. I’m wondering if anyone has encountered this error: I am trying to build a circuit with a noisy channel by adding a bit flip to an arbitrary qubit (in a three-qubit circuit), but I get an error saying that the BitFlip gate is not supported on the default.qubit device. I assumed that since the bit flip is a qubit operation it would work on a qubit device (rather than, say, a Gaussian device). I haven’t been able to find a solution yet, so any help would be greatly appreciated!
Hi @jfalla! To use
qml.BitFlip, you will need to use the
default.mixed mixed-state simulator. Currently,
default.qubit does not support the
Let me know if that works!
Thank you, @josh! I will try it out and let you know!
@josh, it worked! Thanks again!
Thank you @jfalla for the update. Let us know if you have any more questions.