Jack Ceroni
Jack Ceroni
Hey @Strilanc - So to construct the cirq.sample_final_wavefunction I took the cirq.final_wavefunction method and removed the condition that all gates have to be unitary. I tested it with a bit...
Also @Strilanc, how would one differentiate between mixtures and fully-general channels? (Sorry for all the questions 😂)
In addition, I tried using the cirq.has_mixture as opposed to cirq.has_unitary method, but for some reason, this didn't work (it kept throwing the same error, meaning that cirq.has_mixture(arg) = False...
Hey @Strilanc Thank you for your response! For the `has_mixture` method, it's essentially just failing when I try to replace the `has_unitary` with it. I played around with the function...
On the other hand, the `has_unitary` method is working exactly as expected, which leads me to believe that this is in fact a bug. Should I open an issue?
@Strilanc Will do! Any idea what could be causing the bug?