QCMaterial
QCMaterial.apply_qubit_op
QCMaterial.check_py_type
QCMaterial.convert_openfermion_op
QCMaterial.divide_real_imag
QCMaterial.gen_p_t2
QCMaterial.gen_t1
QCMaterial.get_transition_amplitude_with_obs
QCMaterial.mk_scipy_minimize
QCMaterial.numerical_grad
QCMaterial.overlap
QCMaterial.parse_pauli_str
QCMaterial.uccgsd
QCMaterial.update_circuit_param!
QCMaterial.update_quantum_state!
QCMaterial.update_quantum_state!
QCMaterial.apply_qubit_op
— FunctionApply a qubit operator op to |stateket> and fit the result with circuit * |statebra>. The circuit object will be updated on exit. The squared norm of op * |state_ket> will be returned.
QCMaterial.check_py_type
— MethodCheck if the Python type of a given PyObject matches the expected one
QCMaterial.convert_openfermion_op
— MethodConvertopenfermionop
Args: nqubit (:class:int
) openfermionop (:class:openfermion.ops.QubitOperator
) Returns: :class:qulacs.Observable
QCMaterial.divide_real_imag
— MethodDivide a qubit operator into the hermite and antihermite parts.
QCMaterial.gen_p_t2
— MethodGenerate pair dobule excitations
QCMaterial.gen_t1
— MethodGenerate single excitations
QCMaterial.get_transition_amplitude_with_obs
— MethodCompute <statebra| circuit^+ obs |stateket>, where obs is a hermite observable.
QCMaterial.mk_scipy_minimize
— FunctionMake a wrapped scipy minimizer
QCMaterial.numerical_grad
— MethodCompute partial derivative of a given function at a point x
QCMaterial.overlap
— MethodCompute <phi (thetabra) | phi(thetaket)>
QCMaterial.parse_pauli_str
— MethodParse a tuple representing a Pauli string When x is ((0, "X"), (5, "Y")), returns [0, 5], [PauliID.X, PauliID.Y]
QCMaterial.uccgsd
— MethodReturns UCCGSD circuit.
QCMaterial.update_circuit_param!
— MethodUpdate circuit parameters
QCMaterial.update_quantum_state!
— MethodUpdate a state using a circuit
QCMaterial.update_quantum_state!
— MethodUpdate a state using a circuit