netket.vqs.get_local_kernel

netket.vqs.get_local_kernel#

netket.vqs.get_local_kernel(vstate, Ô)[source]#

Returns the function computing the local estimator for the given variational state and operator.

Parameters:
  • vstate (Any) – the variational state

  • – the operator

  • Ô (Any)

Returns:

A callable accepting the output of get_configs(vstate, O).

netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._lazy.Squared)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._discrete_operator.DiscreteOperator)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._discrete_operator_jax.DiscreteJaxOperator)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._continuous_operator.ContinuousOperator)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._lazy.Squared, chunk_size: int)[source]
Parameters:

# Dispatches to select what expect-kernel to use

netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._discrete_operator_jax.DiscreteJaxOperator, chunk_size: int)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._discrete_operator.DiscreteOperator, chunk_size: int)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_state.state.MCState, Ô: netket.operator._continuous_operator.ContinuousOperator, chunk_size: int)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._abstract_super_operator.AbstractSuperOperator)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._discrete_operator.DiscreteOperator)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._lazy.Squared[netket.operator._abstract_super_operator.AbstractSuperOperator])[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._abstract_super_operator.AbstractSuperOperator, chunk_size: int)[source]
Parameters:

# Dispatches to select what expect-kernel to use

netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._lazy.Squared[netket.operator._abstract_super_operator.AbstractSuperOperator], chunk_size: int)[source]
Parameters:
netket.vqs.get_local_kernel(vstate: netket.vqs.mc.mc_mixed_state.state.MCMixedState, Ô: netket.operator._discrete_operator.DiscreteOperator, chunk_size: int)[source]
Parameters: