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

Bug: q_int_div #111

Open
renezander90 opened this issue Dec 19, 2024 · 0 comments
Open

Bug: q_int_div #111

renezander90 opened this issue Dec 19, 2024 · 0 comments

Comments

@renezander90
Copy link
Contributor

renezander90 commented Dec 19, 2024

from qrisp import *

qf1 = QuantumFloat(4)
qf1[:] = 9

qf2 = QuantumFloat(4)
qf2[:] = 3

Q, R = q_int_div(qf1,qf2,log_output=False)

print(Q)

Yields:

Exception: Instruction Qubits {Qubit(remainder.6)} not present in circuit

@renezander90 renezander90 changed the title Bug: q_int_div Bug: q_int_div, q_div Dec 19, 2024
@renezander90 renezander90 changed the title Bug: q_int_div, q_div Bug: q_int_div Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant