Léigh i mBéarla

Comhroinn trí


Microsoft.Quantum.QsCompiler.Transformations.Monomorphization Namespace

Classes

Monomorphize

This transformation replaces callables with type parameters with concrete instances of the same callables. The concrete values for the type parameters are found from uses of the callables. This transformation also removes all callables that are not used directly or indirectly from any of the marked entry point. Monomorphizing intrinsic callables is optional and intrinsics can be prevented from being monomorphized if the monomorphizeIntrinsics parameter is set to false. There are also some built-in callables that are also exempt from being removed from non-use, as they are needed for later rewrite steps.