# Hessian vs metric tensor
step
step(x, stepsize, metric_tensor, opt, model, circuit, recompute_tensor=True, lam=0)
x
stepsize
metric_tensor
opt
model
circuit
recompute_tensor
True
lam
0
apply_grad
apply_grad(grad, x, stepsize, metric_tensor)
grad
class
Setup_For_Training
Setup_For_Training(layers, width, rho_target, device='default.qubit')
layers
width
rho_target
device
'default.qubit'