Long-Term Monitor Data Management: A User Manual
Upload Experiment Data:
Steps:
We are using MongoDB here hence we are not creating the Branches here.
In order to upload Experiment Data you have to upload a file that follows this format.
X4Y2.data.json -> chip_name.data.json
We will extract chip_name from the file_name.
In, Jupyter NoteBook you can upload experiment data in 2 ways.
File Upload
Object Upload

from qubicstorage import experiment
import json
file_path = 'X4Y2.data.json'
response = experiment.insertbyfile(file_path)
response_json_content = response.json()
response_json_string = json.dumps(response_json_content, indent=4)
print(response_json_string)# Insert Qubit Data by JSON Object
from qubicstorage import experiment
import json
chip_name = "X4Y2"
json_data= {....}
response = experiment.insertbyobject(json_data,chip_name)
response_json_content = response.json()
response_json_string = json.dumps(response_json_content, indent=4)
print(response_json_string)View Experiment Data:

# Get Each Qubit Property Data With specified Chip
from qubicstorage import experiment
import json
qubit = "Q0"
chip_name = "X4Y2"
response = experiment.geteachqubitdata_chip(qubit,chip_name)
response_json_content = response.json()
response_json_string = json.dumps(response_json_content, indent=4)
print(response_json_string)# Get All Qubits Data With specified Property
from qubicstorage import experiment
import json
#List of Currently available Properties:
# 1. fidelity
# 2. prep0read1
# 3. prep1read0
# 4. separation
# 5. t1
# 6. t2spinecho
# 7. t2ramsey
property = "fidelity"
chip_name = "X4Y2"
response = experiment.getallqubitdata_property(property,chip_name)
response_json_content = response.json()
response_json_string = json.dumps(response_json_content, indent=4)
print(response_json_string)Last updated