import qcodes as qc
from qcodes.dataset import initialise_database, initialise_or_create_database_at
Logging hadn't been started.
Activating auto-logging. Current session state plus future input saved.
Filename : /home/runner/.qcodes/logs/command_history.log
Mode : append
Output logging : True
Raw input log : False
Timestamping : True
State : active
Qcodes Logfile : /home/runner/.qcodes/logs/241006-11051-qcodes.log
Initialization, creation and upgrade
A database can be initialized with a simple function call, initialise_database
, which will initialize a database at the default location which is normally ~/experiments.db
. This function produces does not return or print a value, but the location of the currently initialized database is stored in the QCoDeS configuration qc.config.core.db_location
.