qiskit_quimb¶
- qiskit_quimb.quimb_circuit(circuit, quimb_circuit_class=<class 'quimb.tensor.circuit.Circuit'>, **kwargs)[source]¶
Convert a Qiskit circuit to a quimb circuit.
The quimb circuit is constructed using the
from_gates
method of the quimb circuit class (quimb.tensor.Circuit
by default), passing along the keyword arguments fromkwargs
.- Parameters:
circuit (
QuantumCircuit
) – The Qiskit circuit.quimb_circuit_class (
type
[Circuit
]) – Thequimb.tensor.Circuit
subclass to use.
- Return type:
Circuit
- Returns:
The quimb circuit.