Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Error using Bound() #685

Open
Lan238692 opened this issue Oct 18, 2023 · 0 comments
Open

Error using Bound() #685

Lan238692 opened this issue Oct 18, 2023 · 0 comments

Comments

@Lan238692
Copy link

I think I can't use the Bound function as mentioned in the guide below.

let bound = Bound([U, V]);
bound(x);

The following error message is shown.

Couldn't match type (Qubit => Unit is Adj + Ctl) with type ('m => Unit).
Expected: ('m => Unit)[]
Actual: (Qubit => Unit is Adj + Ctl)[]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant