Display of controlled composite gates appears incorrect. #3546
Labels
bug
Something isn't working
priority: medium
status: pending PR
It has one or more PRs pending to solve this issue
Milestone
Information
What is the current behavior?
Controlled composite gates appear with the wrong number of controls.
Steps to reproduce the problem
results in,
What is the expected behavior?
The number of controls should be
num_ctrl_qubits
. The exception might be if the gate being controlled is itself a controlled gate. For instance a gate like x.control().control() would show two control qubits.Suggested solutions
The text was updated successfully, but these errors were encountered: