Deprecated user defined type

Namespace: Microsoft.Quantum.Core

Package: Microsoft.Quantum.QSharp.Foundation

Compiler-recognized attribute used to mark a type or callable as deprecated.


@ Microsoft.Quantum.Core.Attribute()
newtype Deprecated = (NewName : String);

Named Items

NewName : String

The full name of the type or callable to use instead. Is set to the empty String if a type or callable has been deprecated without substitution.