paddle_quantum.qchem.ansatz

Ansatz for quantum chemistry

class paddle_quantum.qchem.ansatz.HardwareEfficient(num_qubits, depth, use_cz=True, angles=None, rot_type='ry')

Bases: Circuit

property rot_type

Type of rotation gate in the circuit.

property entangle_type

Type of entangling gate in the circuit.

class paddle_quantum.qchem.ansatz.UCC(num_qubits, ucc_order='sd', single_ex_amps=None, double_ex_amps=None, **trotter_kwargs)

Bases: Circuit

property onebody_tensor

\(T_{pq}\) in UCCSD method.

property twobody_tensor

\(V_{pqrs}\) in UCCSD method.

class paddle_quantum.qchem.ansatz.HartreeFock(num_qubits, angles=None)

Bases: Circuit