API reference¶
- ffsim
BitstringType
DiagonalCoulombHamiltonian
DoubleFactorizedHamiltonian
FermionAction
FermionOperator
GivensAnsatzOp
HopGateAnsatzOperator
MolecularData
MolecularHamiltonian
NumNumAnsatzOpSpinBalanced
ProductStateSum
SingleFactorizedHamiltonian
Spin
StateVector
SupportsApplyUnitary
SupportsApproximateEquality
SupportsDiagonal
SupportsFermionOperator
SupportsLinearOperator
SupportsTrace
UCCSDOpRestrictedReal
UCJOpSpinBalanced
UCJOpSpinUnbalanced
UCJOpSpinless
addresses_to_strings()
apply_diag_coulomb_evolution()
apply_fsim_gate()
apply_fswap_gate()
apply_givens_rotation()
apply_hop_gate()
apply_num_interaction()
apply_num_num_interaction()
apply_num_op_prod_interaction()
apply_num_op_sum_evolution()
apply_on_site_interaction()
apply_orbital_rotation()
apply_tunneling_interaction()
apply_unitary()
approx_eq()
cre()
cre_a()
cre_b()
des()
des_a()
des_b()
diag()
dim()
dims()
expectation_one_body_power()
expectation_one_body_product()
fermi_hubbard_1d()
fermi_hubbard_2d()
fermion_operator()
hartree_fock_state()
init_cache()
linear_operator()
multireference_state()
multireference_state_prod()
number_operator()
rdms()
sample_slater_determinant()
sample_state_vector()
simulate_qdrift_double_factorized()
simulate_trotter_diag_coulomb_split_op()
simulate_trotter_double_factorized()
slater_determinant()
slater_determinant_amplitudes()
slater_determinant_rdms()
spin_square()
strings_to_addresses()
trace()
- ffsim.contract
- ffsim.linalg
GivensRotation
apply_matrix_to_slices()
double_factorized()
double_factorized_t2()
double_factorized_t2_alpha_beta()
expm_multiply_taylor()
givens_decomposition()
is_antihermitian()
is_hermitian()
is_orthogonal()
is_real_symmetric()
is_special_orthogonal()
is_unitary()
lup()
match_global_phase()
modified_cholesky()
one_hot()
reduced_matrix()
- ffsim.optimize
- ffsim.qiskit
DiagCoulombEvolutionJW
DiagCoulombEvolutionSpinlessJW
DropNegligible
FfsimSampler
GivensAnsatzOpJW
GivensAnsatzOpSpinlessJW
MergeOrbitalRotations
NumNumAnsatzOpSpinBalancedJW
NumOpSumEvolutionJW
NumOpSumEvolutionSpinlessJW
OrbitalRotationJW
OrbitalRotationSpinlessJW
PRE_INIT
PrepareHartreeFockJW
PrepareHartreeFockSpinlessJW
PrepareSlaterDeterminantJW
PrepareSlaterDeterminantSpinlessJW
SimulateTrotterDiagCoulombSplitOpJW
SimulateTrotterDoubleFactorizedJW
UCJOpSpinBalancedJW
UCJOpSpinUnbalancedJW
UCJOpSpinlessJW
ffsim_vec_to_qiskit_vec()
final_state_vector()
jordan_wigner()
pre_init_passes()
qiskit_vec_to_ffsim_vec()
- ffsim.random
random_antihermitian()
random_density_matrix()
random_diagonal_coulomb_hamiltonian()
random_double_factorized_hamiltonian()
random_fermion_hamiltonian()
random_fermion_operator()
random_hermitian()
random_molecular_hamiltonian()
random_orthogonal()
random_real_symmetric_matrix()
random_special_orthogonal()
random_state_vector()
random_t2_amplitudes()
random_two_body_tensor()
random_uccsd_restricted()
random_ucj_op_spin_balanced()
random_ucj_op_spin_unbalanced()
random_ucj_op_spinless()
random_unitary()
- ffsim.testing