Microsoft.Quantum.Core namespace

This namespace includes Q# core functions and operations.

Functions

Name Summary
Default Returns a default instance of the specified type.
Length Returns the number of elements in an array.
RangeEnd Returns the defined end value of the given range, which is not necessarily the last element in the sequence.
RangeReverse Returns a new range which is the reverse of the input range.
RangeStart Returns the defined start value of the given range.
RangeStep Returns the integer that specifies how the next value of a range is calculated.

User-defined types

Name Summary
Attribute Compiler-recognized attribute used to mark user-defined types as attributes.
Deprecated Compiler-recognized attribute used to mark a type or callable as deprecated.
EntryPoint Compiler-recognized attribute used to mark the entry point of an executable.
Inline Compiler-recognized attribute used during QIR emission to determine when callables should be inlined, if possible.