netket.vqs.get_local_kernel_arguments

netket.vqs.get_local_kernel_arguments#

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

Returns the samples of vstate used to compute the expectation value of the operator O, and the connected elements and matrix elements.

Parameters:
  • vstate (Any) – the variational state

  • OÌ‚ – the operator

  • Ô (Any)

Returns:

A Tuple with 2 elements (sigma, args), where the first elements should be the samples over which the classical expectation value should be computed, while the latter is anything that can be fed as input to the local_kernel.

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