Microsoft.Quantum.QsCompiler.Transformations.FunctorGeneration Namespace

Classes

AddVariableDeclarations<T>

Adds the given variable declarations to the list of defined variables for each scope.

ApplyFunctorToOperationCalls

Scope transformation that replaces each operation call within a given scope with a call to the operation after application of the functor given on initialization. The default values used for auto-generation will be used for the additional functor arguments. Additional functor arguments will be added to the list of defined variables for each scope.

ApplyFunctorToOperationCalls.ExpressionKindTransformation

Replaces each operation call with a call to the operation after application of the given functor. The default values used for auto-generation will be used for the additional functor arguments.

ApplyFunctorToOperationCalls.TransformationsState
IgnoreOuterBlockInConjugations<T>

Ensures that the outer block of conjugations is ignored during transformation.