Hi everybody,
I'm watching video 5 and following the instructions there. When I get to "Step 2: Optimize the problem for quantum execution," I get the error TranspilerError: "The control-flow construct 'if_else' is not supported by the backend ."
I compared the code I wrote to the instructions in the video, and there was no difference, but an error occurred when I executed it.
Please check again and give me further instructions. Thank you!
Hi everybody, I'm watching video 5 and following the instructions there. When I get to "Step 2: Optimize the problem for quantum execution," I get the error TranspilerError: "The control-flow construct 'if_else' is not supported by the backend ." I compared the code I wrote to the instructions in the video, and there was no difference, but an error occurred when I executed it. Please check again and give me further instructions. Thank you!