Skip to main contentIBM Quantum Documentation

Quimb simulation backend

qiskit_addon_aqc_tensor.simulation.quimb

Quimb as a tensor network backend.

QuimbCircuitFactoryQuimb circuit factory.
QuimbSimulatorSettings for Quimb simulator.
QiskitQuimbConversionContextContains information about Qiskit-to-Quimb conversion, necessary to recover Qiskit parameters.

Functions

is_quimb_available

is_quimb_available()[source]

GitHub

Return True is qiskit-quimb is installed, False otherwise.

Return type

bool

qiskit_ansatz_to_quimb

qiskit_ansatz_to_quimb(qc, initial_parameters, /)[source]

GitHub

Convert a Qiskit ansatz to a Quimb parametrized circuit.

Return type

tuple[Circuit, QiskitQuimbConversionContext]

Parameters

recover_parameters_from_quimb

recover_parameters_from_quimb(circ_opt, ctx, /)[source]

GitHub

Recover Qiskit circuit parameters from a Quimb circuit.

Parameters

tnoptimizer_objective_kwargs

tnoptimizer_objective_kwargs(objective, /)

GitHub

Return keyword arguments for use with TNOptimizer(). :rtype: dict[str, Any]

  • loss_fn
  • loss_kwargs

Parameters

objective (OneMinusFidelity)

Return type

dict[str, Any]

Was this page helpful?
Report a bug or request content on GitHub.