From fc7d1e29f57fa65dc19f24de9da98f972efef491 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Fri, 3 Jan 2025 13:49:22 -0800 Subject: [PATCH] Updating API docs --- pip/qsharp/_native.pyi | 15 ++++++++------- pip/src/interpreter.rs | 15 ++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/pip/qsharp/_native.pyi b/pip/qsharp/_native.pyi index b294899346..9efbd723a5 100644 --- a/pip/qsharp/_native.pyi +++ b/pip/qsharp/_native.pyi @@ -90,20 +90,21 @@ class TargetProfile(Enum): Adaptive_RI: TargetProfile """ - Target supports the Adaptive profile with integer computation and qubit reset capabilities. + Target supports the Adaptive profile with the integer computation extension. This profile includes all of the required Adaptive Profile - capabilities, as well as the optional integer computation and qubit - reset capabilities, as defined by the QIR specification. + capabilities, as well as the optional integer computation + extension defined by the QIR specification. """ Adaptive_RIF: TargetProfile """ - Target supports the Adaptive profile with integer & floating point computation and qubit reset capabilities. + Target supports the Adaptive profile with integer & floating-point + computation extensions. - This profile includes all of the required Adaptive Profile and Adaptive_RI - capabilities, as well as the optional floating point computation and qubit - reset capabilities, as defined by the QIR specification. + This profile includes all required Adaptive Profile and `Adaptive_RI` + capabilities, as well as the optional floating-point computation + extension defined by the QIR specification. """ Unrestricted: TargetProfile diff --git a/pip/src/interpreter.rs b/pip/src/interpreter.rs index 80df7715aa..0a22140939 100644 --- a/pip/src/interpreter.rs +++ b/pip/src/interpreter.rs @@ -100,17 +100,18 @@ pub(crate) enum TargetProfile { /// /// This option maps to the Base Profile as defined by the QIR specification. Base, - /// Target supports the Adaptive profile with integer computation and qubit reset capabilities. + /// Target supports the Adaptive profile with the integer computation extension. /// /// This profile includes all of the required Adaptive Profile - /// capabilities, as well as the optional integer computation and qubit - /// reset capabilities, as defined by the QIR specification. + /// capabilities, as well as the optional integer computation + /// extension defined by the QIR specification. Adaptive_RI, - /// Target supports the Adaptive profile with integer & floating point computation and qubit reset capabilities. + /// Target supports the Adaptive profile with integer & floating-point + /// computation extensions. /// - /// This profile includes all of the required Adaptive Profile and Adaptive_RI - /// capabilities, as well as the optional floating point computation and qubit - /// reset capabilities, as defined by the QIR specification. + /// This profile includes all required Adaptive Profile and `Adaptive_RI` + /// capabilities, as well as the optional floating-point computation + /// extension defined by the QIR specification. Adaptive_RIF, /// Target supports the full set of capabilities required to run any Q# program. ///