Skip to main contentIBM Quantum Documentation Mirror

Circuit Representation

With this module you can build QuantumCircuit objects that are interpreted as acting on fermionic modes rather than qubits.

The following objects are simple type aliases to make this re-interpretation more clear:

FermionicDAGCircuitA type alias of DAGCircuit.
FermionicModeA type alias of Qubit.
FermionicRegisterA type alias of QubitRegister.
FermionicSpecifierA type alias equivalent to Qiskit's QubitSpecifier but for fermionic modes.

For actually expressing your circuits, you should use the FermionicCircuit class along with the library of FermionicGate implementations.

FermionicCircuit(num_modes)A wrapper around QuantumCircuit for expressing fermionic circuits.
FermionicGate(name, num_modes, /[, params, ...])The base class for all fermionic gates.