From 5ab11d0d7b08f8b2ec3c4812d3726174fb37e0db Mon Sep 17 00:00:00 2001 From: Yaroslav Kharkov Date: Mon, 4 Mar 2024 10:53:08 -0500 Subject: [PATCH] Add a small example ahs_program.json --- examples/ahs_program.json | 109 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 examples/ahs_program.json diff --git a/examples/ahs_program.json b/examples/ahs_program.json new file mode 100644 index 0000000..68c3c24 --- /dev/null +++ b/examples/ahs_program.json @@ -0,0 +1,109 @@ +{ + "setup": { + "ahs_register": { + "sites": [ + [ + "0.0", + "0.0" + ], + [ + "5.499999999999999856993733449161965e-6", + "0.0" + ], + [ + "0.0", + "5.499999999999999856993733449161965e-6" + ], + [ + "5.499999999999999856993733449161965e-6", + "5.499999999999999856993733449161965e-6" + ] + ], + "filling": [ + 1, + 1, + 1, + 1 + ] + } + }, + "braketSchemaHeader": { + "name": "braket.ir.ahs.program", + "version": "1" + }, + "hamiltonian": { + "shiftingFields": [ + { + "magnitude": { + "pattern": [ + "0.0", + "0.0", + "0.0", + "0.0" + ], + "time_series": { + "values": [ + "0.0", + "0.0" + ], + "times": [ + "0.0", + "3.999999999999999818992447303545035e-6" + ] + } + } + } + ], + "drivingFields": [ + { + "phase": { + "pattern": "uniform", + "time_series": { + "values": [ + "0.0", + "0.0" + ], + "times": [ + "0.0", + "3.999999999999999818992447303545035e-6" + ] + } + }, + "detuning": { + "pattern": "uniform", + "time_series": { + "values": [ + "-3.15e7", + "-3.15e7", + "3.15e7", + "3.15e7" + ], + "times": [ + "0.0", + "9.999999999999999547481118258862587e-8", + "3.899999999999999929396754527743951e-6", + "3.999999999999999818992447303545035e-6" + ] + } + }, + "amplitude": { + "pattern": "uniform", + "time_series": { + "values": [ + "0.0", + "6.3e6", + "6.3e6", + "0.0" + ], + "times": [ + "0.0", + "9.999999999999999547481118258862587e-8", + "3.899999999999999929396754527743951e-6", + "3.999999999999999818992447303545035e-6" + ] + } + } + } + ] + } +}