Skip to content

Commit

Permalink
fix: restore section headers for mandatory capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
qartik committed Oct 2, 2024
1 parent 8b3fd47 commit 73cf50f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cla_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Contributor License Agreement and I hereby accept the Terms.') || github.event_name == 'pull_request_target'
uses: cla-assistant/github-action@v2.3.1
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_ACCESS_TOKEN }}
with:
remote-organization-name: qir-alliance
remote-repository-name: data_storage
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/link_and_spell_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,16 @@ jobs:
}
shell: pwsh
- name: markdownlint-cli
# cspell:words nosborn
uses: nosborn/[email protected]
uses: nosborn/[email protected]
with:
files: .
config_file: 'utils/md_lint_config.yml'
- name: Markdown link check
# cspell:words gaurav
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
if: ${{ success() || failure() }}
- name: "Check spelling in changed files"
# cspell:words streetsidesoftware
uses: streetsidesoftware/cspell-action@v6
with:
inline: warning
Expand Down
12 changes: 5 additions & 7 deletions specification/under_development/profiles/Adaptive_Profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ capabilities are outlined in the following sections.

## Mandatory Capabilities

**Bullet 1: Quantum transformations** <br/>
### Bullet 1: Quantum transformations

The set of available instructions that transform the quantum state may vary
depending on the targeted backend. The profile specification defines how to
Expand All @@ -87,7 +87,7 @@ role of the QIS, recommendations for front- and backend providers, as well as
the distinction between runtime functions and quantum instructions, can be found
in this [document](../Instruction_Set.md).

**Bullet 2: Measurements** <br/>
### Bullet 2: Measurements

As for the Base Profile, a measurement function is a QIS function marked with an
[`irreversible` attribute](./Base_Profile.md#quantum-instruction-set) that
Expand All @@ -104,7 +104,7 @@ supported QIS, without impacting the state of the non-measured qubits.
Furthermore, it must be possible to use the measured qubit(s) afterwards and
apply additional quantum instructions to the same qubit(s).

**Bullet 3: Forward Branching** <br/>
### Bullet 3: Forward Branching

Additionally, the Adaptive Profile requires that it must be possible to take
action based on a measurement result. Specifically, it must be possible to
Expand Down Expand Up @@ -149,7 +149,7 @@ conditionally perform quantum instructions depending on measurement outcomes,
for example when performing real-time error-correction as part of a quantum
programs.

**Bullet 4: Program output** <br/>
### Bullet 4: Program output

The specifications of QIR and all its profiles need to accurately reflect the
program intent. This includes being able to define and customize the program
Expand Down Expand Up @@ -328,8 +328,6 @@ constant. We refer to the [LLVM language
reference](https://llvm.org/docs/LangRef.html#switch-instruction) for more
information about the switch instruction.

<!--FIXME: check that the entry point section allows for entry point arguments - global constants as the alternative? -->

### Bullet 9: Multiple Return Points

A backend my choose to support multiple return points in an entry point
Expand Down Expand Up @@ -903,7 +901,7 @@ measurements and boolean computations:
%2 = and i1 %0, %1
br i1 %2, label %then, label %continue
then:
then:
tail call void @__quantum__qis__x__body(%Qubit* nonnull inttoptr (i64 2 to %Qubit*))
br label %continue
Expand Down

0 comments on commit 73cf50f

Please sign in to comment.