EigsQPE.construct_circuit

EigsQPE.construct_circuit(mode, register=None)[source]

Construct the eigenvalues estimation using the PhaseEstimationCircuit

Parameters
  • mode (str) – construction mode, ‘matrix’ not supported

  • register (QuantumRegister) – the register to use for the quantum state

Returns

object for the constructed circuit

Return type

QuantumCircuit

Raises

ValueError – QPE is only possible as a circuit not as a matrix