hybridlane.devices.default_hybrid.sampled ========================================= .. py:module:: hybridlane.devices.default_hybrid.sampled Functions --------- .. autoapisummary:: hybridlane.devices.default_hybrid.sampled.measure_with_shots hybridlane.devices.default_hybrid.sampled.measure_with_diagonalizing_gates hybridlane.devices.default_hybrid.sampled.measure_hamiltonian hybridlane.devices.default_hybrid.sampled.sample_state Module Contents --------------- .. py:function:: measure_with_shots(measurements, state, shots, is_state_batched, rng = None, prng_key = None, wire_map = None, mid_measurements = None) .. py:function:: measure_with_diagonalizing_gates(mp, state, shots, is_state_batched, rng = None, prng_key = None, wire_map = None) .. py:function:: measure_hamiltonian(mp, state, shots, is_state_batched, rng = None, prng_key = None, wire_map = None) .. py:function:: sample_state(state, shots, is_state_batched, wires = None, rng = None, prng_key = None) Sample basis states from the given state This returns an array of shape (B, shots, num_wires) if the state is batched, or (shots, num_wires) if the state is not batched.