Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Emit spec compliant QIR#2590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
swernli wants to merge6 commits intomain
base:main
Choose a base branch
Loading
fromswernli/qir-spec-compliance
Draft

Conversation

swernli
Copy link
Collaborator

This updates the QIR code generation logic to comply with the Base and Adaptive Profile specifications. In particular, it makes the following updates:

  • The entry point function returnsi64.
  • Module level flags for computation extensions are updated to be consistent with spec fixes for LLVM flags.
  • QIR now includes global strings in the data section that are used as tags for the output recording calls, with tag values chosen to be consistent with the Azure Quantum service output translation.
  • The__quantum__qis__read_result__body function is renamed to__quantum__rt__read_result.
  • Every program begins with a call to the__quantum__rt__initialize function.

@swernliswernli mentioned this pull requestJul 3, 2025
6 tasks
@swernli
Copy link
CollaboratorAuthor

Of note, in case it is helpful for review, the first five commits correspond (mostly) to the bullet points in the description. Commits after that may cover other integration work.

@swernliswernliforce-pushed theswernli/qir-spec-compliance branch from25aa7c7 toa240f12CompareJuly 18, 2025 20:57
@swernliswernliforce-pushed theswernli/qir-spec-compliance branch from9791517 tobf5e1ffCompareJuly 18, 2025 21:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@billtibilltiAwaiting requested review from billtibillti will be requested when the pull request is marked ready for reviewbillti is a code owner

@idavisidavisAwaiting requested review from idavisidavis will be requested when the pull request is marked ready for reviewidavis is a code owner

@minestarksminestarksAwaiting requested review from minestarksminestarks will be requested when the pull request is marked ready for reviewminestarks is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@swernli

[8]ページ先頭

©2009-2025 Movatter.jp