From 6902ce1a759cc145d1b22d28e68cc3bedab71a5e Mon Sep 17 00:00:00 2001 From: Melf Date: Tue, 28 Nov 2023 15:53:52 +0000 Subject: [PATCH 1/3] update version, pyqir and changelog --- _metadata.py | 2 +- docs/changelog.rst | 5 +++++ setup.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_metadata.py b/_metadata.py index 67139219..9f9c2f7a 100644 --- a/_metadata.py +++ b/_metadata.py @@ -1,2 +1,2 @@ -__extension_version__ = "0.6.0" +__extension_version__ = "0.7.0" __extension_name__ = "pytket-qir" diff --git a/docs/changelog.rst b/docs/changelog.rst index a4e56633..0be71cae 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,11 @@ Changelog ~~~~~~~~~ +0.7.0 (November 2023) +--------------------- + +* updated pyqir version requirement to 0.10.0. + 0.6.0 (November 2023) --------------------- diff --git a/setup.py b/setup.py index 3d8660e7..4a0253b2 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ include_package_data=True, install_requires=[ "pytket ~= 1.22", - "pyqir == 0.9.0", + "pyqir == 0.10.0", ], classifiers=[ "Environment :: Console", From 3dc54e9908199e4a92828374db82f4d4f46a2cef Mon Sep 17 00:00:00 2001 From: Melf Date: Tue, 28 Nov 2023 15:54:51 +0000 Subject: [PATCH 2/3] update qir files --- tests/qir/test_pytket_qir.ll | 2 +- tests/qir/test_pytket_qir_10.ll | 2 +- tests/qir/test_pytket_qir_11.ll | 2 +- tests/qir/test_pytket_qir_12.ll | 2 +- tests/qir/test_pytket_qir_13.ll | 2 +- tests/qir/test_pytket_qir_14.ll | 2 +- tests/qir/test_pytket_qir_14_b.ll | 2 +- tests/qir/test_pytket_qir_15.ll | 2 +- tests/qir/test_pytket_qir_17.ll | 2 +- tests/qir/test_pytket_qir_2.ll | 2 +- tests/qir/test_pytket_qir_3.ll | 2 +- tests/qir/test_pytket_qir_4.ll | 2 +- tests/qir/test_pytket_qir_5.ll | 2 +- tests/qir/test_pytket_qir_6.ll | 2 +- tests/qir/test_pytket_qir_7.ll | 2 +- tests/qir/test_pytket_qir_8.ll | 2 +- tests/qir/test_pytket_qir_9.ll | 2 +- tests/qir/test_pytket_qir_barrier.ll | 2 +- tests/qir/test_pytket_qir_barrier_ii.ll | 2 +- tests/qir/test_pytket_qir_conditional.ll | 2 +- tests/qir/test_pytket_qir_conditional_10.ll | 2 +- tests/qir/test_pytket_qir_conditional_11.ll | 2 +- tests/qir/test_pytket_qir_conditional_6.ll | 2 +- tests/qir/test_pytket_qir_conditional_7.ll | 2 +- tests/qir/test_pytket_qir_conditional_8.ll | 2 +- tests/qir/test_pytket_qir_conditional_9.ll | 2 +- tests/qir/test_pytket_qir_conditional_ii.ll | 2 +- tests/qir/test_pytket_qir_conditional_iii.ll | 2 +- tests/qir/test_pytket_qir_conditional_iv.ll | 2 +- tests/qir/test_pytket_qir_conditional_v.ll | 2 +- tests/qir/test_pytket_qir_module.ll | 2 +- tests/qir/test_pytket_qir_qasm.ll | 2 +- tests/qir/test_pytket_qir_quantum.ll | 2 +- tests/qir/test_pytket_qir_quantum_ii.ll | 2 +- tests/qir/test_pytket_qir_quantum_iii.ll | 2 +- tests/qir/test_pytket_qir_quantum_iv.ll | 2 +- tests/qir/test_pytket_qir_quantum_v.ll | 2 +- tests/qir/test_pytket_qir_rangepredicate.ll | 2 +- tests/qir/test_pytket_qir_wasm.ll | 2 +- tests/qir/test_pytket_qir_wasm_ii.ll | 2 +- tests/qir/test_pytket_qir_wasm_ii_64.ll | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/tests/qir/test_pytket_qir.ll b/tests/qir/test_pytket_qir.ll index 4549c8e3..8cb92ba2 100644 --- a/tests/qir/test_pytket_qir.ll +++ b/tests/qir/test_pytket_qir.ll @@ -34,7 +34,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_10.ll b/tests/qir/test_pytket_qir_10.ll index 46274377..ae830521 100644 --- a/tests/qir/test_pytket_qir_10.ll +++ b/tests/qir/test_pytket_qir_10.ll @@ -44,7 +44,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_11.ll b/tests/qir/test_pytket_qir_11.ll index 1791cdb8..531e3857 100644 --- a/tests/qir/test_pytket_qir_11.ll +++ b/tests/qir/test_pytket_qir_11.ll @@ -44,7 +44,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_12.ll b/tests/qir/test_pytket_qir_12.ll index f035e766..2d8a4286 100644 --- a/tests/qir/test_pytket_qir_12.ll +++ b/tests/qir/test_pytket_qir_12.ll @@ -39,7 +39,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_13.ll b/tests/qir/test_pytket_qir_13.ll index 2249e51c..3250d1d3 100644 --- a/tests/qir/test_pytket_qir_13.ll +++ b/tests/qir/test_pytket_qir_13.ll @@ -46,7 +46,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_14.ll b/tests/qir/test_pytket_qir_14.ll index ea4c0b17..3c30294d 100644 --- a/tests/qir/test_pytket_qir_14.ll +++ b/tests/qir/test_pytket_qir_14.ll @@ -299,7 +299,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__x__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_14_b.ll b/tests/qir/test_pytket_qir_14_b.ll index 009b42e7..c9345f8a 100644 --- a/tests/qir/test_pytket_qir_14_b.ll +++ b/tests/qir/test_pytket_qir_14_b.ll @@ -417,7 +417,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__x__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_15.ll b/tests/qir/test_pytket_qir_15.ll index 36e264d4..e15147db 100644 --- a/tests/qir/test_pytket_qir_15.ll +++ b/tests/qir/test_pytket_qir_15.ll @@ -48,7 +48,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="0" "num_required_results"="0" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="0" "required_num_results"="0" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_17.ll b/tests/qir/test_pytket_qir_17.ll index 608710a5..4204f4a9 100644 --- a/tests/qir/test_pytket_qir_17.ll +++ b/tests/qir/test_pytket_qir_17.ll @@ -48,7 +48,7 @@ declare void @__quantum__qis__h__body(%Qubit*) declare void @__quantum__qis__cnot__body(%Qubit*, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_2.ll b/tests/qir/test_pytket_qir_2.ll index df740180..453a965a 100644 --- a/tests/qir/test_pytket_qir_2.ll +++ b/tests/qir/test_pytket_qir_2.ll @@ -34,7 +34,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_3.ll b/tests/qir/test_pytket_qir_3.ll index 3926e0e0..c3f41769 100644 --- a/tests/qir/test_pytket_qir_3.ll +++ b/tests/qir/test_pytket_qir_3.ll @@ -41,7 +41,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_4.ll b/tests/qir/test_pytket_qir_4.ll index 93998aa2..ce1cfec2 100644 --- a/tests/qir/test_pytket_qir_4.ll +++ b/tests/qir/test_pytket_qir_4.ll @@ -63,7 +63,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_5.ll b/tests/qir/test_pytket_qir_5.ll index f218249a..f5ef54eb 100644 --- a/tests/qir/test_pytket_qir_5.ll +++ b/tests/qir/test_pytket_qir_5.ll @@ -67,7 +67,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_6.ll b/tests/qir/test_pytket_qir_6.ll index e145590d..4b1731db 100644 --- a/tests/qir/test_pytket_qir_6.ll +++ b/tests/qir/test_pytket_qir_6.ll @@ -74,7 +74,7 @@ declare void @__quantum__qis__h__body(%Qubit*) declare void @__quantum__qis__z__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_7.ll b/tests/qir/test_pytket_qir_7.ll index 02e8b497..1eb07a88 100644 --- a/tests/qir/test_pytket_qir_7.ll +++ b/tests/qir/test_pytket_qir_7.ll @@ -104,7 +104,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_8.ll b/tests/qir/test_pytket_qir_8.ll index 4e318b8f..a60ee3d2 100644 --- a/tests/qir/test_pytket_qir_8.ll +++ b/tests/qir/test_pytket_qir_8.ll @@ -48,7 +48,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_9.ll b/tests/qir/test_pytket_qir_9.ll index 412e80c8..4a0cf73f 100644 --- a/tests/qir/test_pytket_qir_9.ll +++ b/tests/qir/test_pytket_qir_9.ll @@ -44,7 +44,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_barrier.ll b/tests/qir/test_pytket_qir_barrier.ll index dde1c32e..032875f5 100644 --- a/tests/qir/test_pytket_qir_barrier.ll +++ b/tests/qir/test_pytket_qir_barrier.ll @@ -46,7 +46,7 @@ declare void @__quantum__qis__barrier1__body(%Qubit*) declare void @__quantum__qis__barrier4__body(%Qubit*, %Qubit*, %Qubit*, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="5" "num_required_results"="5" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="5" "required_num_results"="5" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_barrier_ii.ll b/tests/qir/test_pytket_qir_barrier_ii.ll index eae4c66a..acd91e75 100644 --- a/tests/qir/test_pytket_qir_barrier_ii.ll +++ b/tests/qir/test_pytket_qir_barrier_ii.ll @@ -52,7 +52,7 @@ declare void @__quantum__qis__group3__body(%Qubit*, %Qubit*, %Qubit*) declare void @__quantum__qis__sleep__body(%Qubit*, double) -attributes #0 = { "entry_point" "num_required_qubits"="5" "num_required_results"="5" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="5" "required_num_results"="5" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional.ll b/tests/qir/test_pytket_qir_conditional.ll index 03548ef4..daf50b9a 100644 --- a/tests/qir/test_pytket_qir_conditional.ll +++ b/tests/qir/test_pytket_qir_conditional.ll @@ -79,7 +79,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_10.ll b/tests/qir/test_pytket_qir_conditional_10.ll index f8b561eb..c1478cba 100644 --- a/tests/qir/test_pytket_qir_conditional_10.ll +++ b/tests/qir/test_pytket_qir_conditional_10.ll @@ -67,7 +67,7 @@ declare void @__quantum__qis__y__body(%Qubit*) declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_11.ll b/tests/qir/test_pytket_qir_conditional_11.ll index ff96b57c..275bc3d3 100644 --- a/tests/qir/test_pytket_qir_conditional_11.ll +++ b/tests/qir/test_pytket_qir_conditional_11.ll @@ -970,7 +970,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__x__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="7" "num_required_results"="7" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="7" "required_num_results"="7" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_6.ll b/tests/qir/test_pytket_qir_conditional_6.ll index 74a17317..296a37ae 100644 --- a/tests/qir/test_pytket_qir_conditional_6.ll +++ b/tests/qir/test_pytket_qir_conditional_6.ll @@ -54,7 +54,7 @@ declare void @__quantum__qis__h__body(%Qubit*) declare void @__quantum__qis__phasedx__body(double, double, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_7.ll b/tests/qir/test_pytket_qir_conditional_7.ll index eb45dd11..5bcfa1ff 100644 --- a/tests/qir/test_pytket_qir_conditional_7.ll +++ b/tests/qir/test_pytket_qir_conditional_7.ll @@ -126,7 +126,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__x__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="7" "num_required_results"="7" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="7" "required_num_results"="7" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_8.ll b/tests/qir/test_pytket_qir_conditional_8.ll index bf02ae22..36501979 100644 --- a/tests/qir/test_pytket_qir_conditional_8.ll +++ b/tests/qir/test_pytket_qir_conditional_8.ll @@ -52,7 +52,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_9.ll b/tests/qir/test_pytket_qir_conditional_9.ll index 2d9e198d..060d265b 100644 --- a/tests/qir/test_pytket_qir_conditional_9.ll +++ b/tests/qir/test_pytket_qir_conditional_9.ll @@ -58,7 +58,7 @@ declare void @__quantum__qis__y__body(%Qubit*) declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_ii.ll b/tests/qir/test_pytket_qir_conditional_ii.ll index 113e76ff..a6782535 100644 --- a/tests/qir/test_pytket_qir_conditional_ii.ll +++ b/tests/qir/test_pytket_qir_conditional_ii.ll @@ -79,7 +79,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_iii.ll b/tests/qir/test_pytket_qir_conditional_iii.ll index aed3c394..8e97736c 100644 --- a/tests/qir/test_pytket_qir_conditional_iii.ll +++ b/tests/qir/test_pytket_qir_conditional_iii.ll @@ -94,7 +94,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_iv.ll b/tests/qir/test_pytket_qir_conditional_iv.ll index eb3a581a..c3ea9c4d 100644 --- a/tests/qir/test_pytket_qir_conditional_iv.ll +++ b/tests/qir/test_pytket_qir_conditional_iv.ll @@ -54,7 +54,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_conditional_v.ll b/tests/qir/test_pytket_qir_conditional_v.ll index df8df8f7..74c6021f 100644 --- a/tests/qir/test_pytket_qir_conditional_v.ll +++ b/tests/qir/test_pytket_qir_conditional_v.ll @@ -54,7 +54,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_module.ll b/tests/qir/test_pytket_qir_module.ll index 4549c8e3..8cb92ba2 100644 --- a/tests/qir/test_pytket_qir_module.ll +++ b/tests/qir/test_pytket_qir_module.ll @@ -34,7 +34,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_qasm.ll b/tests/qir/test_pytket_qir_qasm.ll index 26b45d59..88728770 100644 --- a/tests/qir/test_pytket_qir_qasm.ll +++ b/tests/qir/test_pytket_qir_qasm.ll @@ -54,7 +54,7 @@ declare void @__quantum__rt__tuple_start_record_output() declare void @__quantum__rt__tuple_end_record_output() -attributes #0 = { "entry_point" "num_required_qubits"="10" "num_required_results"="10" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="10" "required_num_results"="10" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_quantum.ll b/tests/qir/test_pytket_qir_quantum.ll index a07984dd..0bb499f1 100644 --- a/tests/qir/test_pytket_qir_quantum.ll +++ b/tests/qir/test_pytket_qir_quantum.ll @@ -34,7 +34,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_quantum_ii.ll b/tests/qir/test_pytket_qir_quantum_ii.ll index 1fd73f7c..9c5fd3e1 100644 --- a/tests/qir/test_pytket_qir_quantum_ii.ll +++ b/tests/qir/test_pytket_qir_quantum_ii.ll @@ -57,7 +57,7 @@ declare void @__quantum__qis__z__body(%Qubit*) declare void @__quantum__qis__rx__body(double, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_quantum_iii.ll b/tests/qir/test_pytket_qir_quantum_iii.ll index ff82d864..0fa73829 100644 --- a/tests/qir/test_pytket_qir_quantum_iii.ll +++ b/tests/qir/test_pytket_qir_quantum_iii.ll @@ -44,7 +44,7 @@ declare void @__quantum__qis__h__body(%Qubit*) declare void @__quantum__qis__cnot__body(%Qubit*, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="2" "num_required_results"="2" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="2" "required_num_results"="2" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_quantum_iv.ll b/tests/qir/test_pytket_qir_quantum_iv.ll index 45d7cad5..8791ce12 100644 --- a/tests/qir/test_pytket_qir_quantum_iv.ll +++ b/tests/qir/test_pytket_qir_quantum_iv.ll @@ -66,7 +66,7 @@ declare void @__quantum__qis__zzmax__body(%Qubit*, %Qubit*) declare void @__quantum__qis__cnot__body(%Qubit*, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_quantum_v.ll b/tests/qir/test_pytket_qir_quantum_v.ll index af299839..74e5c533 100644 --- a/tests/qir/test_pytket_qir_quantum_v.ll +++ b/tests/qir/test_pytket_qir_quantum_v.ll @@ -67,7 +67,7 @@ declare void @__quantum__qis__rxxyyzz__body(double, double, double, %Qubit*, %Qu declare void @__quantum__qis__cnot__body(%Qubit*, %Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="4" "num_required_results"="4" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="4" "required_num_results"="4" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_rangepredicate.ll b/tests/qir/test_pytket_qir_rangepredicate.ll index 50e586f8..5cce4b4b 100644 --- a/tests/qir/test_pytket_qir_rangepredicate.ll +++ b/tests/qir/test_pytket_qir_rangepredicate.ll @@ -135,7 +135,7 @@ declare void @__quantum__rt__tuple_end_record_output() declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="3" "num_required_results"="3" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="3" "required_num_results"="3" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/tests/qir/test_pytket_qir_wasm.ll b/tests/qir/test_pytket_qir_wasm.ll index 9823c7a5..1658373f 100644 --- a/tests/qir/test_pytket_qir_wasm.ll +++ b/tests/qir/test_pytket_qir_wasm.ll @@ -50,7 +50,7 @@ declare i32 @new_function() #1 declare void @__quantum__qis__h__body(%Qubit*) -attributes #0 = { "entry_point" "num_required_qubits"="1" "num_required_results"="1" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="1" "required_num_results"="1" } attributes #1 = { "wasm" } diff --git a/tests/qir/test_pytket_qir_wasm_ii.ll b/tests/qir/test_pytket_qir_wasm_ii.ll index 406fe1f6..1d1f69ea 100644 --- a/tests/qir/test_pytket_qir_wasm_ii.ll +++ b/tests/qir/test_pytket_qir_wasm_ii.ll @@ -76,7 +76,7 @@ declare i32 @no_parameters() #1 declare i32 @new_function() #1 -attributes #0 = { "entry_point" "num_required_qubits"="6" "num_required_results"="6" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="6" "required_num_results"="6" } attributes #1 = { "wasm" } diff --git a/tests/qir/test_pytket_qir_wasm_ii_64.ll b/tests/qir/test_pytket_qir_wasm_ii_64.ll index a6e52031..0f31d0a8 100644 --- a/tests/qir/test_pytket_qir_wasm_ii_64.ll +++ b/tests/qir/test_pytket_qir_wasm_ii_64.ll @@ -54,7 +54,7 @@ declare void @init() #1 declare i64 @add_something(i64) #1 -attributes #0 = { "entry_point" "num_required_qubits"="6" "num_required_results"="6" "output_labeling_schema" "qir_profiles"="custom" } +attributes #0 = { "entry_point" "output_labeling_schema" "qir_profiles"="custom" "required_num_qubits"="6" "required_num_results"="6" } attributes #1 = { "wasm" } From 3bd2bb57561cc3e03c4dd476fab610988f9c11ae Mon Sep 17 00:00:00 2001 From: Melf Date: Tue, 28 Nov 2023 15:57:02 +0000 Subject: [PATCH 3/3] fix changelog --- docs/changelog.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 0be71cae..12dfc355 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,8 +1,8 @@ Changelog ~~~~~~~~~ -0.7.0 (November 2023) ---------------------- +0.7.0 (Unreleased) +------------------ * updated pyqir version requirement to 0.10.0.