We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Executing the following circuit
auto const circuit = qpp::QCircuit{ 3u } .CTRL(qpp::gt.X, { 0u }, { 1u, 2u });
throws "qpp::applyCTRL(): Matrix mismatch subsystems! [A/target]"
"qpp::applyCTRL(): Matrix mismatch subsystems! [A/target]"
I've implemented a unit test: antoine-bussy@fd15ca8 I suspect that is treated as a CTRL_joint in QEngine::execute.
CTRL_joint
QEngine::execute
The text was updated successfully, but these errors were encountered:
Replacing U with kronpow(U, target.size()) fixes the issue. See antoine-bussy@6da00f5 But I guess it's not a very good fix performance-wise.
U
kronpow(U, target.size())
Sorry, something went wrong.
The documentation of QCircuit::CTRL states that U is a single qubit gate, unlike QCircuit::CTRL_joint. Have I misunderstood the issue #97 ?
QCircuit::CTRL
QCircuit::CTRL_joint
I see now the overload you're referring to... will check
Fixed by #135
No branches or pull requests
Hi,
Executing the following circuit
throws
"qpp::applyCTRL(): Matrix mismatch subsystems! [A/target]"
I've implemented a unit test: antoine-bussy@fd15ca8
I suspect that is treated as a
CTRL_joint
inQEngine::execute
.The text was updated successfully, but these errors were encountered: