FermionCircuitSolver.preprocess_circuit¶
- FermionCircuitSolver.preprocess_circuit(circuit)[source]¶
Pre-processing fermionic circuits includes setting up the basis for the simulation by extracting the size, particle number and spin conservation from the circuit.
- Parameters:
circuit (
QuantumCircuit
) – A fermionic quantum circuit for which to setup a basis.