View on GitHub
Open this notebook in GitHub to run it yourself
hadamard_transform
Arguments:
target:QArray[QBit]
target quantum argument is the quantum state on which we apply the Hadamard Transform.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
hadamard_transform
Arguments:
target: QArray[QBit]target quantum argument is the quantum state on which we apply the Hadamard Transform.
from classiq import *
@qfunc
def main(x: Output[QArray[QBit]]):
allocate(3, x)
hadamard_transform(x)
qprog = synthesize(main)
Was this page helpful?