braket.ir.jaqcd.program module

class braket.ir.jaqcd.program.Program(**data: Any)[source]

Bases: pydantic.main.BaseModel

Root object of the JsonAwsQuantumCircuitDescription IR.

- instructions

List of instructions.

Examples

>>> Program(instructions=[H(target=0), Rz(angle=0.15, target=1)])
instructions: List[Union[CCNot, CNot, CPhaseShift, CPhaseShift00, CPhaseShift01, CPhaseShift10, CSwap, CY, CZ, H, I, ISwap, PhaseShift, PSwap, Rx, Ry, Rz, S, Swap, Si, T, Ti, Unitary, V, Vi, X, XX, XY, Y, YY, Z, ZZ]] = None
results: Optional[List[Union[Amplitude, Expectation, Probability, Sample, StateVector, Variance]]] = None