Reputation: 11
Multi control cz gate:
The error is saying that:
[Experiment 0] Circuit mcmt contains invalid instructions {"gates": {ccz}} for "statevector" method. , ERROR: Circuit mcmt contains invalid instructions {"gates": {ccz}} for "statevector" method.'
Upvotes: 0
Views: 323
Reputation: 11
I get the answer later ... if we use Multi control cz gate then we need to call the transpiler and then transpile it like this
from qiskit import transpile
t_qc = transpile(qc, sim) # sim = simulation
Upvotes: 1