A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic
It is well-known that quantum programs are not only complicated to write but also tedious to verify due to their enormous state-space and the sophisticated mathematics beneath. In this work, we propose a Hoare-style inference framework to verify quantum programs. We infuse separation logic in our fr...
Saved in:
Main Authors: | , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2022
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/6919 https://ink.library.smu.edu.sg/context/sis_research/article/7922/viewcontent/3498697_pvoa_cc_by.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-7922 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-79222024-02-16T06:49:46Z A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic LE, Xuan Bach LIN, Shang-Wei SUN, Jun SANAN, David It is well-known that quantum programs are not only complicated to write but also tedious to verify due to their enormous state-space and the sophisticated mathematics beneath. In this work, we propose a Hoare-style inference framework to verify quantum programs. We infuse separation logic in our framework and invent the $\hoarule{qframe}$ rule, the quantum counterpart of the frame rule, to support local reasoning of quantum programs. The design of our framework is planned with a mindset for intuition and human-readability, using vectors in Dirac notation for reasoning instead of the orthodox matrix representation as in existing approaches. For evaluation, we apply our framework to verify various quantum programs such as Deutsch-Jozsa’s algorithm and Grover’s algorithm. 2022-01-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/6919 https://ink.library.smu.edu.sg/context/sis_research/article/7922/viewcontent/3498697_pvoa_cc_by.pdf http://creativecommons.org/licenses/by/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Quantum Computing Verification Formal Semantics Programming Languages and Compilers Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Quantum Computing Verification Formal Semantics Programming Languages and Compilers Software Engineering |
spellingShingle |
Quantum Computing Verification Formal Semantics Programming Languages and Compilers Software Engineering LE, Xuan Bach LIN, Shang-Wei SUN, Jun SANAN, David A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
description |
It is well-known that quantum programs are not only complicated to write but also tedious to verify due to their enormous state-space and the sophisticated mathematics beneath. In this work, we propose a Hoare-style inference framework to verify quantum programs. We infuse separation logic in our framework and invent the $\hoarule{qframe}$ rule, the quantum counterpart of the frame rule, to support local reasoning of quantum programs. The design of our framework is planned with a mindset for intuition and human-readability, using vectors in Dirac notation for reasoning instead of the orthodox matrix representation as in existing approaches. For evaluation, we apply our framework to verify various quantum programs such as Deutsch-Jozsa’s algorithm and Grover’s algorithm. |
format |
text |
author |
LE, Xuan Bach LIN, Shang-Wei SUN, Jun SANAN, David |
author_facet |
LE, Xuan Bach LIN, Shang-Wei SUN, Jun SANAN, David |
author_sort |
LE, Xuan Bach |
title |
A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
title_short |
A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
title_full |
A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
title_fullStr |
A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
title_full_unstemmed |
A Quantum interpretation of separating conjunction for local reasoning of Quantum programs based on separation logic |
title_sort |
quantum interpretation of separating conjunction for local reasoning of quantum programs based on separation logic |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2022 |
url |
https://ink.library.smu.edu.sg/sis_research/6919 https://ink.library.smu.edu.sg/context/sis_research/article/7922/viewcontent/3498697_pvoa_cc_by.pdf |
_version_ |
1794549700434591744 |