Skip to content
New issue

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

Kron symboled gates evaluation error #63

Closed
harshangrjn opened this issue Oct 7, 2022 · 1 comment
Closed

Kron symboled gates evaluation error #63

harshangrjn opened this issue Oct 7, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@harshangrjn
Copy link
Owner

If num_qubits = 4,
this works

QCOpt.get_full_sized_kron_symbol_gate("I_1xI_2xCZ_3_4", num_qubits)

but this gives an error:

QCOpt.get_full_sized_kron_symbol_gate("I_1xCZ_2_4", num_qubits)

Error message: [error | QuantumCircuitOpt]: Dimensions mismatch in evaluation of Kronecker product

@harshangrjn harshangrjn added the bug Something isn't working label Oct 7, 2022
@harshangrjn harshangrjn added this to the v0.5.1 milestone Oct 7, 2022
@harshangrjn
Copy link
Owner Author

From v0.5.1+, this works fine: QCOpt.get_full_sized_gate("I_1xCZ_2_4", num_qubits)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant