Skip to content

Commit

Permalink
Updating API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Jan 3, 2025
1 parent cccd88e commit fc7d1e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions pip/qsharp/_native.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 8 additions & 7 deletions pip/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit fc7d1e2

Please sign in to comment.