Import
A .json
file can be uploaded to QURI from the Import
to
fill the terms in the New job
page.
This can be used to share your calculation settings with others, or when you perform a series of calculations where only a few parameters are varied.
A result .json
file, which can be downloaded from Export
in the job result page,
can be uploaded to be reused as a new input.
Example 1.
An input file to calculate the ground state of a molecule with
Sampling simulator(10000 shot)
.
{
"q_kernel": {
"sampling_simulator": {
"sampling_strategy_uniform": {
"n_shots": 10000
},
"seed": 0
}
},
"molecule": {
"geometry": [
{
"symbol": "H",
"x": 0,
"y": 0,
"z": 0.37,
"basis": "sto-3g"
},
{
"symbol": "H",
"x": 0,
"y": 0,
"z": -0.37,
"basis": "sto-3g"
}
],
"charge": 0,
"multiplicity": 1
},
"active_space": {
"n_electrons": 2,
"n_orbitals": 2
}
}
Example 2.
An input file to calculate the ground state and the first singlet excited state of
a molecule with SSVQE
and Sampling simulator(10000 shot)
.
{
"q_kernel": {
"sampling_simulator": {
"sampling_strategy_uniform": {
"n_shots": 10000
},
"seed": 0
}
},
"molecule": {
"geometry": [
{
"symbol": "C",
"x": -1.180008,
"y": 0.192136,
"z": 0.000006,
"basis": "sto-3g"
},
{
"symbol": "C",
"x": 0.155627,
"y": 0.220893,
"z": -0.000035,
"basis": "sto-3g"
},
{
"symbol": "H",
"x": -1.741943,
"y": -0.456454,
"z": -0.667423,
"basis": "sto-3g"
},
{
"symbol": "H",
"x": -1.769292,
"y": 0.815945,
"z": 0.667474,
"basis": "sto-3g"
},
{
"symbol": "H",
"x": 0.744920,
"y": -0.402909,
"z": -0.667497,
"basis": "sto-3g"
},
{
"symbol": "H",
"x": 0.717548,
"y": 0.869488,
"z": 0.667399,
"basis": "sto-3g"
}
],
"charge": 0,
"multiplicity": 1,
"sz_number": 0
},
"active_space": {
"n_electrons": 2,
"n_orbitals": 2
},
"n_excited_states": 1,
"ssvqe_weights": [2.0, 1.0],
"penalty_weights": {
"num_electrons_weight": 1.0,
"s2_number_weight": 1.0,
"sz_number_weight": 1.0
},
"energy": {
"states": [
0
]
}
}