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.

to_dict()

Return the dictionary representation of the program.

transform(device)

Transform program to according to device target profile.

Attributes

hamiltonian

Return the Hamiltonian of the program.

num_atoms

Return the number of atoms in the program.

num_qubits

Number of qubits needed by a quantum device to execute this program.

program

Return the quantum program.

register

The initial atom arrangement for the simulation.