示例#1
0
def test_convert4qmc_minimal_init():
    from machines import job
    from qmcpack_converters import Convert4qmc, generate_convert4qmc

    sim = generate_convert4qmc(job=job(machine='ws1', cores=1), )

    assert (isinstance(sim, Convert4qmc))

    clear_all_sims()
示例#2
0
def get_convert4qmc_sim(**kwargs):
    from machines import job
    from qmcpack_converters import Convert4qmc, generate_convert4qmc

    sim = generate_convert4qmc(job=job(machine='ws1', cores=1), **kwargs)

    assert (isinstance(sim, Convert4qmc))

    return sim