LoadFermions¶
- class LoadFermions[source]¶
LoadFermions places a particle in an empty fermionic mode.
Circuit symbol:
┌──────┐ q_0: ┤ Load ├ └──────┘
Initialise new load instruction.
Attributes
Get Clbits in condition.
Get the decompositions of the instruction from the SessionEquivalenceLibrary.
Return definition in terms of other basic gates.
Get the duration.
Return instruction label
Return the name.
Return the number of clbits.
Return the number of qubits.
return instruction params.
Get the time unit of duration.
Methods
LoadFermions.add_decomposition
(decomposition)Add a decomposition of the instruction to the SessionEquivalenceLibrary.
Assemble a QasmQobjInstruction
LoadFermions.broadcast_arguments
(qargs, cargs)Validation of the arguments.
LoadFermions.c_if
(classical, val)Set a classical equality condition on this instruction between the register or cbit
classical
and valueval
.LoadFermions.copy
([name])Copy of the instruction.
Invert this instruction.
Return True .IFF.
Return a default OpenQASM string for the instruction.
Creates an instruction with gate repeated n amount of times.
For a composite instruction, reverse the order of sub-instructions.
LoadFermions.soft_compare
(other)Soft comparison between gates.
LoadFermions.validate_parameter
(parameter)Instruction parameters has no validation or normalization.