The Q# programming language user guide - Azure Quantum
https://docs.microsoft.com/en-us/azure/quantum/user-guide/
May 09, 2022 · // Allocate a qubit. use q = Qubit(); // Do something with q here. By default, every qubit you allocate with the use keyword starts in the zero state. Quantum operations Once allocated, a qubit can be passed to operations and functions, also referred to as callables. In some sense, this is all that a Q# program can do with a qubit.
DA: 6 PA: 99 MOZ Rank: 36