UniqueVariableNames Class

Definition

Upon transformation, assigns each defined variable a unique name, independent on the scope, and replaces all references to it accordingly. The original variable name can be recovered by using the static method StripUniqueName. This class is not threadsafe.

C#
public class UniqueVariableNames : Microsoft.Quantum.QsCompiler.Transformations.Core.SyntaxTreeTransformation<Microsoft.Quantum.QsCompiler.Transformations.SearchAndReplace.UniqueVariableNames.TransformationState>
Inheritance

Constructors

Properties

Methods

Applies to

Produkt Wersje
Microsoft Quantum Development Kit Latest