Module quera_ahs_utils.analysis
Functions
-def get_avg_density(result: braket.tasks.analog_hamiltonian_simulation_quantum_task_result.AnalogHamiltonianSimulationQuantumTaskResult) ‑> numpy.ndarray +def get_avg_density(result: braket.tasks.analog_hamiltonian_simulation_quantum_task_result.AnalogHamiltonianSimulationQuantumTaskResult) -> numpy.ndarray
-
+
Get the average Rydberg densities from the result
@@ -100,9 +98,9 @@Args
result
:AnalogHamiltonianSimulationQuantumTaskResult
- The result from which the aggregated state counts are obtained
- -Returns: -ndarray: The average densities from the result
Returns
+- ndarray: The average densities from the result +
Expand source code
@@ -128,7 +126,7 @@ Args
-def get_counts(result: braket.tasks.analog_hamiltonian_simulation_quantum_task_result.AnalogHamiltonianSimulationQuantumTaskResult) ‑> Dict[str, int]
+def get_counts(result: braket.tasks.analog_hamiltonian_simulation_quantum_task_result.AnalogHamiltonianSimulationQuantumTaskResult) -> Dict[str, int]
Aggregate state counts from AHS shot results
@@ -142,11 +140,11 @@Returns
Dict[str, int]
- number of times each state configuration is measured -
Notes: We use the following convention to denote the state of an atom (site): -e: empty site +
Notes
: We use the following convention to denote the state
of an atom (site):