qbraid.programs.ahs.AnalogHamiltonianProgram
- class AnalogHamiltonianProgram(program)[source]
Abstract class for qbraid program wrapper objects.
- __init__(program)
Methods
__init__(program)get_spec(program)Return the program spec.
serialize()Return the program in a format suitable for submission to the qBraid API.
to_dict()Return the dictionary representation of the program.
transform(device)Transform program to according to device target profile.
Attributes
experiment_typeReturns the ExperimentType corresponding to the sub-module of the program.
hamiltonianReturn the Hamiltonian of the program.
num_atomsReturn the number of atoms in the program.
num_qubitsNumber of qubits needed by a quantum device to execute this program.
programReturn the quantum program.
registerThe initial atom arrangement for the simulation.