Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 MQT Bench Update: New device structure and device, code refactoring, and further improvements #429

Open
wants to merge 65 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
675addf
🎨 adding nativegates handler
nquetschlich Nov 20, 2024
09a6015
🎨 initial draft to remove the provider
nquetschlich Nov 20, 2024
c809b13
✅ adjusted tests
nquetschlich Nov 20, 2024
efe1bc8
🎨 improved structure
nquetschlich Nov 21, 2024
033b4c4
✅ add sanitizing during tests
nquetschlich Nov 21, 2024
b3aa584
🔥 remove placement parameter for tket mapped benchmarks
nquetschlich Nov 21, 2024
913eca3
🔥 remove placement parameter for tket mapped benchmarks
nquetschlich Nov 21, 2024
20f7e1e
:art:
nquetschlich Nov 21, 2024
8a9350a
✅ improved coverage
nquetschlich Nov 22, 2024
f75bca3
✅ improved coverage
nquetschlich Nov 22, 2024
2b72625
✨ added further ibm device
nquetschlich Nov 22, 2024
00de92f
✅ improved tests
nquetschlich Nov 22, 2024
4e491b3
🎨improved naming
nquetschlich Nov 22, 2024
f4ebe8c
🔥 removed the benchviewer and evaluation modules
nquetschlich Nov 22, 2024
cc4e112
🔥 removed the benchviewer and evaluation modules
nquetschlich Nov 22, 2024
c0aa427
🐛 fixed typo
nquetschlich Nov 22, 2024
cbc85dd
🎨 initial qiskit clifford+T implementation
nquetschlich Nov 22, 2024
ef9f52b
🎨 initial qiskit clifford+T implementation
nquetschlich Nov 22, 2024
d43529e
✅ refactored tests
nquetschlich Nov 23, 2024
96472a3
♻️ refactored gateset in dataclass
nquetschlich Nov 23, 2024
554e2d7
♻️ refactored device class structure
nquetschlich Nov 23, 2024
f6e40d1
✅ improved tests
nquetschlich Nov 23, 2024
e01a005
✅ improved tests
nquetschlich Nov 23, 2024
84cc712
🔥 removed old calibration files
nquetschlich Nov 23, 2024
29bc711
🎨
nquetschlich Nov 23, 2024
ba98605
✅ increase coverage
nquetschlich Nov 23, 2024
b3dafff
✅ increase coverage
nquetschlich Nov 23, 2024
d977c52
✅ refactored tests
nquetschlich Nov 23, 2024
ad4b323
✅ deactivated one test on windows
nquetschlich Nov 23, 2024
3aa496a
✅ added more tests
nquetschlich Nov 23, 2024
4bb8340
✅ added more tests to increase coverage
nquetschlich Nov 23, 2024
e593352
📝 improved documentation
nquetschlich Nov 25, 2024
add632b
🐛 adjusted qasm output folder path
nquetschlich Nov 25, 2024
7677e9a
🚚 renamed random circuit
nquetschlich Nov 26, 2024
e80af33
🚚 renamed random circuit
nquetschlich Nov 26, 2024
414c949
🚚 renamed random circuit
nquetschlich Nov 26, 2024
ce2d96a
✨ added a qasm3 export function
nquetschlich Nov 26, 2024
ddd9652
🔀 merged main
nquetschlich Nov 26, 2024
b7cb8ed
:sparkle: add bernstein-vazirani algorithm
nquetschlich Nov 26, 2024
9b25747
✅ removed unnecessary special cases for oqc
nquetschlich Nov 26, 2024
a7ae5c5
🐛 fixed typo
nquetschlich Nov 26, 2024
95a23f2
✨added BV algorithm
nquetschlich Nov 26, 2024
8b3d607
📝 removed print statement
nquetschlich Nov 26, 2024
9e7624f
added qasm 3 import dependency
nquetschlich Nov 26, 2024
6ea6582
✅ removed unnecessary assert statement
nquetschlich Nov 26, 2024
93d32dd
✅ improved testing
nquetschlich Nov 27, 2024
b9327a0
🎨 pre-commit fixes
pre-commit-ci[bot] Nov 27, 2024
394c524
🔥 removed all benchmarks relying on qiskit_optimization, qiskit_natur…
nquetschlich Nov 27, 2024
adf568f
🎨 renamed the VQE ansatz circuits
nquetschlich Nov 27, 2024
8a9ab97
🎨 added a qiskit alg level function that exports to only qasm3
nquetschlich Nov 27, 2024
3bf3811
🎨 re-implemented AE without qiskit application modules
nquetschlich Nov 27, 2024
b50796c
🔥 removed old qiskit dependencies
nquetschlich Nov 27, 2024
427d7fc
✅ increased coverage
nquetschlich Nov 27, 2024
2ddb0aa
🔥 removed unnecessary exclusions
nquetschlich Nov 27, 2024
5154212
🔥 removed unnecessary case handling
nquetschlich Nov 27, 2024
8dd5658
📝 exclude certain tests cases temporarily
nquetschlich Nov 27, 2024
233e2dd
✅ include failing test
nquetschlich Nov 27, 2024
386e0b6
🔀 merge `main` into feature branch
burgholzer Dec 2, 2024
b1a93ba
🚚 no special handling for QNN
burgholzer Dec 2, 2024
b924ed8
♻️ eliminate one line method for cmap conversion
burgholzer Dec 2, 2024
2fa060e
➕ add `scikit-learn` dependency to speed up qiskit synthesis plugin
burgholzer Dec 2, 2024
6cf4d29
🚨 adjust warning filter
burgholzer Dec 2, 2024
7af302e
✅ test a proper benchmark for the Clifford+T synthesis
burgholzer Dec 2, 2024
f7296a9
♻️ extend the Clifford+T gate-set by some more common gates
burgholzer Dec 2, 2024
e87b7e0
♻️ improve implementation of Clifford+T compilation
burgholzer Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/Quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"metadata": {},
"outputs": [],
"source": [
"from mqt.bench import CompilerSettings, QiskitSettings, TKETSettings, get_benchmark"
"from mqt.bench import CompilerSettings, QiskitSettings, get_benchmark"
]
},
{
Expand Down Expand Up @@ -78,7 +78,7 @@
" circuit_size=5,\n",
" compiler=\"qiskit\",\n",
" compiler_settings=compiler_settings,\n",
" provider_name=\"ionq\",\n",
" gateset=\"ionq\", # only used a custom gateset for this example, e.g., gateset=(\"custom_gateset\", [\"cx\", \"u\"])\n",
")\n",
"qc_native_gates_level.draw(output=\"mpl\")"
]
Expand All @@ -100,13 +100,11 @@
"source": [
"from pytket.extensions.qiskit import tk_to_qiskit\n",
"\n",
"compiler_settings = CompilerSettings(tket=TKETSettings(placement=\"lineplacement\"))\n",
"qc_mapped_level = get_benchmark(\n",
" benchmark_name=\"dj\",\n",
" level=\"mapped\",\n",
" circuit_size=5,\n",
" compiler=\"tket\",\n",
" compiler_settings=compiler_settings,\n",
" device_name=\"ionq_harmony\",\n",
")\n",
"tk_to_qiskit(qc_mapped_level).draw(output=\"mpl\")"
Expand Down
20 changes: 0 additions & 20 deletions docs/Usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,6 @@ For example, in order to obtain the *5*\ -qubit Deutsch-Josza benchmark on algor

Examples can be found in the `docs/Quickstart.ipynb <docs/Quickstart.ipynb>`_ jupyter notebook.

Locally hosting the MQT Bench Viewer
------------------------------------

Additionally, this python package includes the same webserver used for the hosting of the
`MQT Bench webpage <https://www.cda.cit.tum.de/mqtbench>`_.

After the ``mqt.bench`` Python package is installed via

.. code-block:: console

(venv) $ pip install mqt.bench

the MQT Bench Viewer can be started from the terminal via

.. code-block:: console

(venv) $ mqt.bench

This first searches for the most recent version of the benchmark files on GitHub and offers to download them.
Afterwards, the webserver is started locally.

Usage directly via this repository
----------------------------------
Expand Down
1 change: 0 additions & 1 deletion evaluation/.python-version

This file was deleted.

37 changes: 0 additions & 37 deletions evaluation/pyproject.toml

This file was deleted.

23 changes: 0 additions & 23 deletions evaluation/src/mqt/bench/evaluation/__init__.py

This file was deleted.

73 changes: 0 additions & 73 deletions evaluation/src/mqt/bench/evaluation/evaluation.py

This file was deleted.

Binary file not shown.
Loading
Loading