QCMaterial
QCMaterial.QulacsVariationalQuantumCircuitBase.copyQCMaterial.apply_qubit_op!QCMaterial.check_py_typeQCMaterial.convert_openfermion_opQCMaterial.divide_real_imagQCMaterial.gen_p_t2QCMaterial.gen_t1QCMaterial.generate_numerical_gradQCMaterial.get_thetasQCMaterial.get_transition_amplitude_with_obsQCMaterial.imag_time_evolveQCMaterial.mk_scipy_minimizeQCMaterial.num_thetaQCMaterial.numerical_gradQCMaterial.overlapQCMaterial.parse_pauli_strQCMaterial.solve_gsQCMaterial.tikhonovQCMaterial.transitionQCMaterial.uccgsdQCMaterial.update_circuit_param!QCMaterial.update_circuit_param!QCMaterial.update_quantum_state!QCMaterial.update_quantum_state!QCMaterial.update_quantum_state!
QCMaterial.QulacsVariationalQuantumCircuit — TypeWrap a QulacsParametricQuantumCircuit object, which will not be copied.
Base.copy — MethodCopy a QulacsVariationalQuantumCircuit object. This makes a copy of the underlying QulacsParametricQuantumCircuit object.
QCMaterial.apply_qubit_op! — MethodApply 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 * |stateket> will be returned. state0bra will not be modified.
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.generate_numerical_grad — MethodGenerates parallelized numerical grad_cost
QCMaterial.get_thetas — MethodReturn a copy of variational parameters
QCMaterial.get_transition_amplitude_with_obs — MethodCompute <statebra| circuit^+ obs |stateket>, where obs is a hermite observable.
QCMaterial.imag_time_evolve — FunctionPerform imaginary-time evolution.
ham_op: Hamiltonian vc: Variational circuit. The current value of variational parameters are used as the initial value of the imaginary-time evolution. state0: The initial state to which the Variational circuit is applied to taus: list of imaginary times in ascending order The first element must be 0.0. return: list of variational parameters at the given imaginary times.
QCMaterial.mk_scipy_minimize — FunctionMake a wrapped scipy minimizer
QCMaterial.num_theta — MethodReturn the number of independent variational parameters
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 ((1, "X"), (5, "Y")), returns [1, 5], [PauliID.X, PauliID.Y]
QCMaterial.solve_gs — MethodCompute ground state
QCMaterial.tikhonov — Functiony = Ax tikhov regularization: minimize ||Ax-b||^2 + λ||x^2||
QCMaterial.transition — MethodCompute <phi (thetabra) |H| phi(thetaket)>
QCMaterial.uccgsd — MethodReturns UCCGSD circuit.
QCMaterial.update_circuit_param! — MethodUpdate circuit parameters
thetas wil be copied.
QCMaterial.update_circuit_param! — MethodUpdate the values of the independent variational parameters
QCMaterial.update_quantum_state! — MethodUpdate a state using a circuit
QCMaterial.update_quantum_state! — MethodUpdate a state using a circuit
QCMaterial.update_quantum_state! — MethodUpdate a state using a circuit