InferTargetInstructions Class

Definition

Static class used to generated callables as needed such that each intrinsic specialization is its own callables, and label intrinsic callables with target instruction names.

public static class InferTargetInstructions
type InferTargetInstructions = class
Public Class InferTargetInstructions
Inheritance
InferTargetInstructions

Methods

LiftIntrinsicSpecializations(QsCompilation) Microsoft.Quantum.QsCompiler.Transformations.Targeting.InferTargetInstructions.LiftIntrinsicSpecializations(Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace)
ReplaceSelfAdjointSpecializations(QsCompilation) Microsoft.Quantum.QsCompiler.Transformations.Targeting.InferTargetInstructions.ReplaceSelfAdjointSpecializations(Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace)
SpecializationSuffix(QsSpecializationKind)

Returns the suffix used to distinguish the generated callables for each functor specialization.

TryAddMissingTargetInstructionAttributes(QsCompilation, QsCompilation)

Adds a TargetInstruction attribute to each intrinsic callable that doesn't have one, unless the automatically determined target instruction name conflicts with another target instruction name. The automatically determined name of the target instruction is the lower case version of the unqualified callable name. Type constructors and generic callables are left unchanged.

Applies to