qbraid.programs.QuantumProgram
- class QuantumProgram(program)[source]
Abstract class for qbraid program wrapper objects.
Methods
__init__(program)get_spec(program)Return the program spec.
serialize()Return the program in a format suitable for submission to the qBraid API.
transform(device)Transform program to according to device target profile.
Attributes
experiment_typeReturns the ExperimentType corresponding to the sub-module of the program.
num_qubitsTotal count of qubits needed by a quantum device to execute this program.
programReturn the quantum program.