Executing the Circuit

Learn how to execute the circuit.

Circuit execution

Press + to interact
# execute the qc
results = execute(qc,Aer.get_backend('statevector_simulator')).result().get_counts()
plot_histogram(results)

We can see eight different states. These belong to the victims (qubit q2=0q_2=0 ...