File tree Expand file tree Collapse file tree
applications/physical_systems/fermi_hubbard_model_1D Expand file tree Collapse file tree Original file line number Diff line number Diff line change 17251725 },
17261726 {
17271727 "cell_type" : " code" ,
1728- "execution_count" : 40 ,
1728+ "execution_count" : null ,
17291729 "id" : " 84" ,
17301730 "metadata" : {},
17311731 "outputs" : [
17501750 " spin_error = np.max(np.abs(spin_density_vh - initial_spin_vh[:, None]))\n " ,
17511751 " print(f\" Max charge density deviation from exact: {charge_error:.2e}\" )\n " ,
17521752 " print(f\" Max spin density deviation from exact: {spin_error:.2e}\" )\n " ,
1753- " assert charge_error < 0.1 , f\" Charge density deviation too large: {charge_error}\"\n " ,
1754- " assert spin_error < 0.1 , f\" Spin density deviation too large: {spin_error}\" "
1753+ " assert charge_error < 0.2 , f\" Charge density deviation too large: {charge_error}\"\n " ,
1754+ " assert spin_error < 0.2 , f\" Spin density deviation too large: {spin_error}\" "
17551755 ]
17561756 },
17571757 {
You can’t perform that action at this time.
0 commit comments