EigsQPE.construct_inverse

EigsQPE.construct_inverse(mode, circuit)

Construct the inverse eigenvalue estimation quantum circuit.

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

  • circuit (QuantumCircuit) – the quantum circuit to invert

Returns

object for of the inverted eigenvalue estimation

circuit.

Return type

QuantumCircuit

Raises
  • NotImplementedError – not implemented for matrix mode

  • ValueError – Circuit was not constructed beforehand