atlas_q.vqe_qaoa.VQEConfig#

class atlas_q.vqe_qaoa.VQEConfig(ansatz='hardware_efficient', n_layers=3, optimizer='L-BFGS-B', max_iter=200, tol=1e-09, chi_max=256, gradient_method='group', device='cuda', dtype=torch.complex128)[source]#

Bases: object

Configuration for VQE

__init__(ansatz='hardware_efficient', n_layers=3, optimizer='L-BFGS-B', max_iter=200, tol=1e-09, chi_max=256, gradient_method='group', device='cuda', dtype=torch.complex128)#

Methods

__init__([ansatz, n_layers, optimizer, ...])

Attributes

ansatz: str = 'hardware_efficient'#
n_layers: int = 3#
optimizer: str = 'L-BFGS-B'#
max_iter: int = 200#
tol: float = 1e-09#
chi_max: int = 256#
gradient_method: str = 'group'#
device: str = 'cuda'#
dtype: dtype = torch.complex128#