MCPcopy
hub / github.com/Qiskit/qiskit / h

Method h

qiskit/circuit/quantumcircuit.py:5158–5169  ·  view source on GitHub ↗

Apply :class:`~qiskit.circuit.library.HGate`. For the full matrix form of this gate, see the underlying gate documentation. Args: qubit: The qubit(s) to apply the gate to. Returns: A handle to the instructions created.

(self, qubit: QubitSpecifier)

Source from the content-addressed store, hash-verified

5156 return self.append(Delay(duration, unit=unit), [qarg], [], copy=False)
5157
5158 def h(self, qubit: QubitSpecifier) -> InstructionSet:
5159 """Apply :class:`~qiskit.circuit.library.HGate`.
5160
5161 For the full matrix form of this gate, see the underlying gate documentation.
5162
5163 Args:
5164 qubit: The qubit(s) to apply the gate to.
5165
5166 Returns:
5167 A handle to the instructions created.
5168 """
5169 return self._append_standard_gate(StandardGate.H, [qubit], ())
5170
5171 def ch(
5172 self,

Callers 15

_mcsu2_real_diagonalFunction · 0.95
synth_qft_fullFunction · 0.95
_create_graph_stateFunction · 0.95
_decompose_graph_stateFunction · 0.95
qs_decompositionFunction · 0.95
_default_embodimentMethod · 0.95
_measurement_circuitFunction · 0.95
__init__Method · 0.95
fourier_checkingFunction · 0.95
grover_operatorFunction · 0.95
state_preparationMethod · 0.95

Calls 1

_append_standard_gateMethod · 0.95