QCMaterial

Base.copyMethod

Copy a QulacsVariationalQuantumCircuit object. This makes a copy of the underlying QulacsParametricQuantumCircuit object.

source
QCMaterial.apply_qubit_op!Method

Apply 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.

source
QCMaterial.imag_time_evolveFunction

Perform 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.

source