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
The following program raises an error:
from catalyst import * import jax.numpy as jnp import pennylane as qml @qml.qnode(qml.device('lightning.qubit', wires=1)) def circuit(n): a = jnp.zeros((n,), dtype=int) return a @qjit def main(n: int): def f(): circuit(n) cond(n != 0)(f)() # fails return circuit(n) # succeeds
This occurs only when the three elements are used in tandem:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following program raises an error:
This occurs only when the three elements are used in tandem:
The text was updated successfully, but these errors were encountered: