SyntaxGenerator.WithControlQubits Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 2 })]
public static Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> WithControlQubits (Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol,Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> arg, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Position> offset, Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol name, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> symRange);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 2 })>]
Microsoft.Quantum.QsCompiler.SyntaxGenerator.WithControlQubits : Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>> -> Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Position> -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTuple<Microsoft.Quantum.QsCompiler.SyntaxTree.LocalVariableDeclaration<Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocalSymbol, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType>>
Public Shared Function WithControlQubits (arg As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType)), offset As QsNullable(Of Position), name As QsLocalSymbol, symRange As QsNullable(Of Range)) As QsTuple(Of LocalVariableDeclaration(Of QsLocalSymbol, ResolvedType))

Parameters

symRange
QsNullable<Range>

Returns

QsTuple<LocalVariableDeclaration<QsLocalSymbol,ResolvedType>>
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to