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

jit compile circuit with any gate #200

Closed
Marsmmz opened this issue Dec 25, 2023 · 2 comments
Closed

jit compile circuit with any gate #200

Marsmmz opened this issue Dec 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Marsmmz
Copy link

Marsmmz commented Dec 25, 2023

I'm using tensorflow as backend and trying to jit compile a circuit with any_gates where thire unitaries are parameters of the jit function. However, any_gate needs unitary with dtype complex128 but during jit compile process, only SymbolicTensor is pass to the unitary, causing error. Are there any way to go around this?

image
@Marsmmz Marsmmz added the bug Something isn't working label Dec 25, 2023
@refraction-ray
Copy link
Contributor

refraction-ray commented Dec 26, 2023

please attach the minimal code demo to reproduce the error

@refraction-ray
Copy link
Contributor

closed as stale, feel free to open again if there is reproducible demo

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

2 participants