From 6d93aef55db74eee2ae4d75eb9adb7f37935ce63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Pe=C3=B1a=20Tapia?= Date: Sun, 3 Mar 2024 07:31:02 +0100 Subject: [PATCH] Add osaka access and prep --- demos/qiskit_patterns/2_qiskit_patterns.ipynb | 10 +- .../data/125node_eagle_depth_one_osaka.qpy | Bin 0 -> 299913 bytes .../data/125node_eagle_depth_zero_osaka.qpy | Bin 0 -> 31460 bytes .../qiskit_patterns_prep.ipynb | 159 ++++++++++++++++++ 4 files changed, 165 insertions(+), 4 deletions(-) create mode 100644 demos/qiskit_patterns/data/125node_eagle_depth_one_osaka.qpy create mode 100644 demos/qiskit_patterns/data/125node_eagle_depth_zero_osaka.qpy create mode 100644 demos/qiskit_patterns/qiskit_patterns_prep.ipynb diff --git a/demos/qiskit_patterns/2_qiskit_patterns.ipynb b/demos/qiskit_patterns/2_qiskit_patterns.ipynb index 827f316..c6dbbbb 100644 --- a/demos/qiskit_patterns/2_qiskit_patterns.ipynb +++ b/demos/qiskit_patterns/2_qiskit_patterns.ipynb @@ -997,11 +997,13 @@ "metadata": {}, "outputs": [], "source": [ - "service = QiskitRuntimeService(channel='ibm_quantum')\n", - "\n", "if team == 1:\n", - " backend = service.get_backend('ibm_sherbrooke')\n", + " # Eagle = Osaka\n", + " service = QiskitRuntimeService(channel='ibm_quantum', instance=\"ibm-tech-event/ibm-tech-2024/team-1\")\n", + " backend = service.get_backend('ibm_osaka')\n", "elif team == 2:\n", + " # Heron = Torino\n", + " service = QiskitRuntimeService(channel='ibm_quantum', instance=\"ibm-tech-event/ibm-tech-2024/team-2\")\n", " backend = service.get_backend('ibm_torino')" ] }, @@ -1343,4 +1345,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/demos/qiskit_patterns/data/125node_eagle_depth_one_osaka.qpy b/demos/qiskit_patterns/data/125node_eagle_depth_one_osaka.qpy new file mode 100644 index 0000000000000000000000000000000000000000..3ee480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ko$c z-q{)7jNd%Pe~jl52XFHxGoH2gA)n;pX9R z^GLXPG~7HEZXORePlTH%!_8CSW@otB6>di1=IL;=JKQ`IZuW$mXT!~N;pX{p^Fp|J zG2HA8H~YfPOX23_aPvyI*&l9R4L7fan*-tIV7NIHZe9;JZ-kq};pWY7^H#WdJKVez zZr%+y?}eN9!_AR!b2Qu>3pdBZ4I*d}Q3pd|~8@%8({&(=k$@u1{ zaMRF^`x`uXAOBy!hMVR(W*m?Wcm@;$b^)<~Q$QzR5|9Y^1JnW50AYYDKoejHkOO!D zlmIpW5r6{_{)l`8J>ngqjwnZfBev(7{~@9g%!p%zFrpWMi~8*tI6;UYIuIC$34{Y8 z0YL!#1NuNc01vDK=0G^W4O|1#Kr?_03n z2=oDXz#QNPqyc2W7oY`H0Z_maU<3pKJirYg1GE4rzzE<0WB?Sv1E2sD{QCa^o_8_y literal 0 HcmV?d00001 diff --git a/demos/qiskit_patterns/data/125node_eagle_depth_zero_osaka.qpy b/demos/qiskit_patterns/data/125node_eagle_depth_zero_osaka.qpy new file mode 100644 index 0000000000000000000000000000000000000000..ec692ab9fe87a7d050c9e49cf82c2a312e669646 GIT binary patch literal 31460 zcmeI5S5ua05{5xBJLVk0jEV}FBVs_z2q9)Gy8D*Y*VWg}e$TyW)!%G*-CX-rgY|jV=UZQ3 z9R)rX&9=J5)|XgcYW)xE%d9WAzQX!S>#MAfzGTfbnv!}>+*oz^c|zij=A^{dvqtY5Rx0%GS$}N(iS?(}pIINWK5Tu&`l$8i z*2k=mTYq8wrS%Exlh$8Ze{KDZ^|#jFS$}W6x{p)#=a1H>t)|r7i26K2$oJz z%yMDIa-m@91jQ^DWh@s7mQGO2a&g9Tv0&*0#Vl+80Y3Zjzx)$&iD2mj#VnU*ESCzF zPEgEpS;lgiVCe+KESG02mkX9oP|R{g#&U&V=>)|rS7t0%3YJb#%yL!6a+P4|1jQ^@ zXDn9>mQGO2a!tl^jbP~n#VprmEY}K_PEgEpUB+^qVCe+KEZ1i&*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gipwE^-aIfm}ZB9aoOq z#zo_falN=%Tq^DpSBYE11>){>)Lz_}&f1H6!WH3ma51lyX2hn?to1Cvv3r8m+xJf}B1M9%qi@#!2Il qalSZOoGK0!XNhCP3F7c@Za6ZW77hw$gyX@<;81WLI0~GCU;hDv%=0J! literal 0 HcmV?d00001 diff --git a/demos/qiskit_patterns/qiskit_patterns_prep.ipynb b/demos/qiskit_patterns/qiskit_patterns_prep.ipynb new file mode 100644 index 0000000..417d240 --- /dev/null +++ b/demos/qiskit_patterns/qiskit_patterns_prep.ipynb @@ -0,0 +1,159 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "1641ab1b", + "metadata": {}, + "outputs": [], + "source": [ + "# Eagle circuits are transpiled for Sherbrooke, but we need Osaka" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "9b61bc04", + "metadata": {}, + "outputs": [], + "source": [ + "from qiskit import qpy # QPY is the circuit serializer in Qiskit.\n", + "\n", + "# Depth zero-circuit\n", + "with open(f\"data/125node_eagle_depth_zero.qpy\", \"rb\") as fd:\n", + " depth_zero_circuit = qpy.load(fd)[0]\n", + "\n", + "# Depth one-circuit\n", + "with open(f\"data/125node_eagle_depth_one.qpy\", \"rb\") as fd:\n", + " depth_one_circuit = qpy.load(fd)[0]" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "e5f33c4b", + "metadata": {}, + "outputs": [], + "source": [ + "from qiskit_ibm_runtime import QiskitRuntimeService\n", + "\n", + "service = QiskitRuntimeService(channel=\"ibm_quantum\", instance = \"ibm-tech-event/ibm-tech-2024/team-1\")\n", + "\n", + "osaka = service.get_backend(\"ibm_osaka\")" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "5d49d2d5", + "metadata": {}, + "outputs": [], + "source": [ + "from qiskit import transpile\n", + "\n", + "new_depth_zero_circuit = transpile(depth_zero_circuit, backend = osaka, optimization_level=0)\n", + "new_depth_one_circuit = transpile(depth_one_circuit, backend = osaka ,optimization_level=0)" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "3de98512", + "metadata": {}, + "outputs": [], + "source": [ + "# Depth zero-circuit\n", + "with open(f\"data/125node_eagle_depth_zero_osaka.qpy\", \"wb\") as fd:\n", + " qpy.dump(new_depth_zero_circuit, fd)\n", + "\n", + "# Depth one-circuit\n", + "with open(f\"data/125node_eagle_depth_one_osaka.qpy\", \"wb\") as fd:\n", + " qpy.dump(new_depth_one_circuit, fd)" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "7c6cf811", + "metadata": {}, + "outputs": [], + "source": [ + "from qiskit_ibm_runtime import Sampler, Options\n", + "from qiskit import QuantumCircuit\n", + "\n", + "options = Options()\n", + "options.transpilation.skip_transpilation = True\n", + "sampler = Sampler(backend=osaka, options=options)\n", + "job = sampler.run(new_depth_one_circuit, [0,1], shots=1)" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "id": "86f2467d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + ">" + ] + }, + "execution_count": 18, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "job.job_id" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "id": "1b7b2b0b", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "SamplerResult(quasi_dists=[{9583798905619508744817906166877101836: 1.0}], metadata=[{'shots': 1, 'circuit_metadata': {}, 'readout_mitigation_overhead': 1.0, 'readout_mitigation_time': 0.10171344131231308, 'warning': 'Optimization level clipped from 3 to 1'}])\n" + ] + } + ], + "source": [ + "print(job.result())" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a0016c79", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "ibm_tech_clean", + "language": "python", + "name": "ibm_tech_clean" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.0" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}