Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions
tests.gates.test_gate_inheritance.Test_Gate_inheritance Class Reference

Public Member Functions

def test_gate_inheritance (self, gate_class)
 
def test_gate_methods (self, gate_class)
 

Detailed Description

Tests for the inheritance structure of the CH gate in the Squander package

Definition at line 23 of file test_gate_inheritance.py.

Member Function Documentation

◆ test_gate_inheritance()

def tests.gates.test_gate_inheritance.Test_Gate_inheritance.test_gate_inheritance (   self,
  gate_class 
)
Test that gates properly inherits from the base Gate class.

Definition at line 43 of file test_gate_inheritance.py.

◆ test_gate_methods()

def tests.gates.test_gate_inheritance.Test_Gate_inheritance.test_gate_methods (   self,
  gate_class 
)
Test that gate inherits methods from the base Gate class.

Definition at line 79 of file test_gate_inheritance.py.


The documentation for this class was generated from the following file: