ApplyFunctorToOperationCalls Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public class ApplyFunctorToOperationCalls : Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<Microsoft.Quantum.QsCompiler.Transformations.FunctorGeneration.ApplyFunctorToOperationCalls.TransformationsState>
type ApplyFunctorToOperationCalls = class
inherit SyntaxTreeTransformation<ApplyFunctorToOperationCalls.TransformationsState>
Public Class ApplyFunctorToOperationCalls
Inherits SyntaxTreeTransformation(Of ApplyFunctorToOperationCalls.TransformationsState)
- Inheritance
-
ApplyFunctorToOperationCalls
Constructors
| ApplyFunctorToOperationCalls(QsFunctor) |
Fields
| ApplyAdjoint | |
| ApplyControlled |
Properties
| ExpressionKinds | (Inherited from SyntaxTreeTransformation<T>) |
| Expressions | (Inherited from SyntaxTreeTransformation<T>) |
| Namespaces | (Inherited from SyntaxTreeTransformation<T>) |
| SharedState | (Inherited from SyntaxTreeTransformation<T>) |
| StatementKinds | (Inherited from SyntaxTreeTransformation<T>) |
| Statements | (Inherited from SyntaxTreeTransformation<T>) |
| Types | (Inherited from SyntaxTreeTransformation<T>) |
Methods
| OnAbsoluteLocation(QsNullable<QsLocation>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnArgumentTuple(QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnCompilation(QsCompilation) | (Inherited from SyntaxTreeTransformation<T>) |
| OnExpressionRange(QsNullable<Range>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnItemName(UserDefinedType, String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnItemNameDeclaration(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnLocalName(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnLocalNameDeclaration(String) | (Inherited from SyntaxTreeTransformation<T>) |
| OnRelativeLocation(QsNullable<QsLocation>) | (Inherited from SyntaxTreeTransformation<T>) |
| OnSymbolLocation(QsNullable<Position>, Range) | (Inherited from SyntaxTreeTransformation<T>) |
| OnTypeRange(TypeRange) | (Inherited from SyntaxTreeTransformation<T>) |