adapt.system_methods

Module Contents

Classes

system_data

class adapt.system_methods.system_data(H, ref, N_e, N_qubits)[source]
recursive_qubit_op(op, qubit_index)[source]
choose_next(set_of_lists, cur_list, k)[source]
choose_paulis(paulis, sub_list, k)[source]
tang_pool()[source]

Pool from the qubit-ADAPT paper

Returns:

jw_pool, fermi_ops – List of sparse matrix operators and their verbal representations respectively

Return type:

list

full_qubit_pool()[source]
k_qubit_pool(k)[source]
kup_pool()[source]
afi_pool()[source]
grimsley_pool()[source]
uccs_then_d_pool(approach='vanilla')[source]
pair_pool()[source]

UPCCGSD-based pool constructor :returns: jw_pool, v_pool – sparse matrices and verbal representations of operators respectively :rtype: list

uccsd_pool(approach='vanilla')[source]

UCCSD-based pool constructor

Parameters:

approach (string) – ‘vanilla’, ‘spin_complement’, or ‘spin_adapt’

Returns:

jw_pool, v_pool – sparse matrices and verbal representations of operators respectively

Return type:

list

sc_uccsd_pool()[source]
raw_uccsd_pool(spin_adapt=False)[source]
qeb_pool()[source]

n_orb is number of spatial orbitals assuming that spin orbitals are labelled 0a,0b,1a,1b,2a,2b,3a,3b,…. -> 0,1,2,3,…

vccsd_pool(spin_adapt=False)[source]
uccgsd_pool(spin_adapt=False)[source]

UCCGSD-based pool constructor

Parameters:

spin_adapt (Bool) – Do spin-adaptation of the pool?

Returns:

jw_pool, v_pool – sparse matrices and verbal representations of operators respectively

Return type:

list

uccgs_pool(spin_adapt=True)[source]
uccd_pool(spin_adapt=True)[source]