Spectral Information Processing with Quantum Neural Networks [SIPwQNN] model samples from ibm_brisbane
Authors/Creators
Description
Spectral Information Processing with Quantum Neural Networks [SIPwQNN] model samples from ibm_brisbane
Here we present the samples returned by our QML model ran on the ibm_brisbane device over 18 - 23 I 2025. It was used for pixel-level change detection on the OSCD dataset. We also present some auxiliary files and data we used. Below, we provide a brief description of each file.
Data
First, we describe all the samples we have. It's vital to note that the data we obtained using real device was gathered with an untrained model due to an error in the code. Therefore, the most important aggregated data pickle is the one containing the untrained outputs comparison.
-
untrained_sim_final_analysis_data.pkl--- The most vital part of this dataset. Thispicklefile contains the aggregated outputs of the model with untrained weights (see auxiliary files description) ran on both simulator and real device (ibm_brisbane). These samples can be rightfully compared to assess the differences between the quality of outputs from the simulators and real device. untrained_sim_final_analysis_data.hdf5--- same data as above, stored in a hdf5 format.-
trained_sim_final_analysis_data.pkl--- Apicklefile containing outputs of the trained model ran on the simulator and the untrained model ran on a real device (ibm_brisbane). It may be used to obtain some additional insights. trained_sim_final_analysis_data.hdf5--- same data as above, stored in a hdf5 format.-
raw.zip--- This is an .zip archive containing all the raw backup (.txt) data from the real device run. It contains the value of model inputs, outputs and the time of a given sample processing. -
auxiliary_data.zip--- The result of processing the rest of the dataset test batches using trained and untrained model weights, both ran using noiseless simulator.
Scripts
Variants of the scripts we used to process the data. The scripts we used to obtain the data are available (in possibly different form) in the project repository.
-
brisbane_data_preparation.py--- The scripts used to process the raw data. -
brisbane_analysis.py--- The scripts we used to analyze the presented data.
Auxiliary files
Additional files that may be of interest to the people accessing this dataset.
-
mc_noiseless_default.pth--- That's the model we used to gather the data. One again, we highlight the fact that the quantum layer of the model had random weights during the data gathering. We include the used weights in the followingpicklefile. -
refac_mc_noiseless_default.pth--- The same model as above, but prepared for the latest version of the code. -
model_weights.pkl--- Apicklefile containing weights of the model while it was ran on the real device. model_weights.hdf5--- same data as above, stored in a hdf5 format.-
training_curve_data.txt--- A file containing training accuracy / loss and validation accuracy / loss during each epoch of the model training. -
pip_freeze.txt--- A results ofpip freezecommand, describing thepythonenvironment we used to gather the data. We made some changes to thepennylane-qiskitlibrary. See the next section for details. -
computations_cost_estimation.xlsx--- A spreadsheet containing rough cost estimates of obtaining the samples we present. transpiled_model_example.txt--- An example of the model we run. The weights were set so that PennyLane could print it.
Modified penylane-qiskit files
To run the model on ibm_brisbane we had to make some changes in the pennylane-qiskit library.
-
qiskit_device.py--- Our version of thepennlane_qiskit.qiskit_devicescript. It contains a hotfix that forbidsqiskit_sessionclosing after a single sample is sent for processing on the device. -
converter.py--- Our version of thepennylane-qiskit.converter. It contains a hotfix for ECR Gates compilation. In the end, we didn't have to use it, since we didn't use automatic transpilation of the model.
Acknowledgements
Supported by ESA under the contract No.~4000137375/22/NL/GLC/my.
Supported by PMW programme under the contract No. 5304/ESA/2023/0.
The simulations were carried out based on the IBM Quantum environment, access to which is financed within the framework of the project “Development of digital competences in quantum engineering in 2024-2025” carried out by the Poznan Supercomputing and Networking Center.
Files
auxiliary_data.zip
Files
(78.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:d3494aabbb970e8a31c2cd8302bd71b8
|
11.7 MB | Preview Download |
|
md5:b7cbab85010b5357bcda3afa3a52fd2c
|
3.5 kB | Download |
|
md5:187df7a99e8c51ae65e6940f9ff62f3c
|
2.4 kB | Download |
|
md5:dc08ef356be8014925ee425b8ca70bb7
|
9.9 kB | Download |
|
md5:283bef492252af86114ab8c28b4ca5c4
|
56.5 kB | Download |
|
md5:af5ce70d7c1a77c177041e5ff5900cb8
|
2.8 kB | Download |
|
md5:9eae11fd833254b9a3206b7d133145c1
|
6.2 kB | Download |
|
md5:4b210798660a6b96d851885c2656f10b
|
1.4 kB | Download |
|
md5:e71911c74f92ff5b2916ff03f50ac041
|
3.8 kB | Preview Download |
|
md5:1d284b2c060f3e2a2cfae22db80c99e9
|
27.9 kB | Download |
|
md5:536ee98466bff7a52c14b4fe14b27263
|
60.0 kB | Preview Download |
|
md5:6f90e1ade02fd21419d85b8ce1fe9c94
|
2.5 kB | Download |
|
md5:0483b2d6fd487454e3121dca700eabb0
|
551.6 kB | Download |
|
md5:f124119fe73942d7e7f4795d9987c12d
|
32.5 MB | Download |
|
md5:9c71767c797ab71d5a7493e6728da1d1
|
1.7 kB | Preview Download |
|
md5:8dcc86210ff5015ad30cdcc3b58cde86
|
15.1 kB | Preview Download |
|
md5:24d45a30a3155050a18ec3319e68868a
|
551.6 kB | Download |
|
md5:7fd5233394c870f145b9752e38451d24
|
32.5 MB | Download |
Additional details
Funding
- European Space Agency
- Spectral information processing with quantum neural networks 4000137375/22/NL/GLC/my
Dates
- Submitted
-
2025-01-18The date we submitted our QML model to run on IBM machines.
- Collected
-
2025-01-23The date we received all the presented data.
Software
- Repository URL
- https://github.com/Tomev/qnn_change_detection
- Programming language
- Python
- Development Status
- Suspended