strangeworks_vqe package#

Submodules#

strangeworks_vqe.sdk module#

class StrangeworksVQE(resource_slug: str | None = ' ')#

Bases: object

Strangeworks client object.

backends()#
To-Do: Add cross check as to which backends the current user actually has
access to.
Currently, this just lists all backends that could work with the qaoa

service.

get_results(sw_job, calculate_exact_sol=False, display_results=False)#
job_list(update_status=True)#
run(backend, H, problem_params)#
update_status(sw_job)#

strangeworks_vqe.serializer module#

pickle_deserializer(p, input_type='dict')#
pickle_serializer(obj, return_type='dict')#

strangeworks_vqe.utils module#

convert_QUBO_to_Ising(QUBO_mat)#
get_Ham_from_PauliSumOp(H_pauliSum)#
get_Ham_from_QUBO(QUBO_mat)#
get_Ham_from_graph(G)#
get_Heisenberg_PauliSumOp(nqubits, Jz, Jxy)#
get_PauliSumOp_from_Ham(H)#
get_exact_en(H, nodes)#
get_graph_from_Ham(H)#

Module contents#

Strangeworks VQE SDK Extension.