1
$\begingroup$

I am trying to to call ApplyMultiplyControlledAnd(), and I'm receiving an error saying "The callable ApplyMultiplyControlledAnd exists in an open namespace, but is not accessible from here." I have opened Microsoft.Quantum.Canon already, but I'm still getting the error. Any advice as to why this is happening would be greatly appreciated!

Thank you!

$\endgroup$
1
$\begingroup$

Looking at the source code of ApplyMultiplyControlledAnd, it is defined as internal, so it's only available to the libraries code, not to the user code.

The non-internal version of this operation seems to be controlled variant of ApplyAnd or ApplyLowDepthAnd.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.