Japanese
言語
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.components.eigs.Eigenvalues

class Eigenvalues[ソース]

Base class for eigenvalue estimation.

This method should initialize the module and use an exception if a component of the module is not available.

abstract __init__()[ソース]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

construct_circuit(mode[, register])

Construct the eigenvalue estimation quantum circuit.

construct_inverse(mode, circuit)

Construct the inverse eigenvalue estimation quantum circuit.

get_register_sizes()

get register sizes

get_scaling()

get scaling

abstract construct_circuit(mode, register=None)[ソース]

Construct the eigenvalue estimation quantum circuit.

パラメータ
  • mode (str) – 『matrix』 or 『circuit』

  • register (QuantumRegister) – register for circuit construction where eigenvalues will be stored.

戻り値

object for the eigenvalue estimation circuit.

戻り値の型

QuantumCircuit

例外

NotImplementedError – not implemented

construct_inverse(mode, circuit)[ソース]

Construct the inverse eigenvalue estimation quantum circuit.

パラメータ
  • mode (str) – construction mode, 『matrix』 not supported

  • circuit (QuantumCircuit) – the quantum circuit to invert

戻り値

object for of the inverted eigenvalue estimation

circuit.

戻り値の型

QuantumCircuit

例外
  • NotImplementedError – not implemented for matrix mode

  • ValueError – Circuit was not constructed beforehand

abstract get_register_sizes()[ソース]

get register sizes

abstract get_scaling()[ソース]

get scaling