Internal Documentation#
qlbm is made up of 4 main modules.
Together, the Base Classes, Amplitude-Based Circuits, and QLGA Circuits
module handle the parameterized creation of quantum circuits that compose QBMs.
The Lattices and Geometry module parses external information into quantum
registers and provides uniform interfaces for underlying algorithms.
The Infrastructure module integrates the quantum components
with Tket, Qiskit, and Qulacs transpilers and runners.
The Other Tools module contains miscellaneous utilities.
- Lattices and Geometry
- Lattices
MSLatticeMSLattice.loggerMSLattice.num_dimsMSLattice.num_gridpointsMSLattice.num_velocitiesMSLattice.num_total_qubitsMSLattice.ancillae_velocity_index()MSLattice.ancillae_obstacle_index()MSLattice.ancillae_comparator_index()MSLattice.grid_index()MSLattice.velocity_index()MSLattice.velocity_dir_index()MSLattice.get_registers()MSLattice.logger_name()MSLattice.has_multiple_geometries()MSLattice.get_encoding()
ABLatticeABLattice.num_gridpointsABLattice.shapesABLattice.discretizationABLattice.num_base_qubitsABLattice.registersABLattice.grid_index()ABLattice.velocity_index()ABLattice.ancillae_comparator_index()ABLattice.ancillae_obstacle_index()ABLattice.get_registers()ABLattice.logger_name()ABLattice.has_multiple_geometries()ABLattice.get_encoding()
OHLatticeSpaceTimeLatticeSpaceTimeLattice.grid_index()SpaceTimeLattice.velocity_index()SpaceTimeLattice.ancilla_mass_index()SpaceTimeLattice.ancilla_comparator_index()SpaceTimeLattice.volumetric_ancilla_qubit_combinations()SpaceTimeLattice.get_registers()SpaceTimeLattice.is_inside_an_obstacle()SpaceTimeLattice.logger_name()SpaceTimeLattice.comparator_periodic_volume_bounds()SpaceTimeLattice.has_multiple_geometries()
LQLGALatticeLQLGALattice.velocity_registerLQLGALattice.num_gridpointsLQLGALattice.shapesLQLGALattice.discretizationLQLGALattice.num_base_qubitsLQLGALattice.num_marker_qubitsLQLGALattice.get_registers()LQLGALattice.gridpoint_index_tuple()LQLGALattice.gridpoint_index_flat()LQLGALattice.velocity_index_flat()LQLGALattice.velocity_index_tuple()LQLGALattice.marker_index()LQLGALattice.get_velocity_qubits_of_line()LQLGALattice.logger_name()LQLGALattice.set_geometries()LQLGALattice.has_multiple_geometries()LQLGALattice.has_accumulation_register()LQLGALattice.use_accumulation_register()LQLGALattice.accumulation_index()
- Geometry
BlockBlock.get_spacetime_reflection_data_d1q2()Block.get_spacetime_reflection_data_d2q4()Block.get_d2q4_volumetric_reflection_data()Block.get_d2q4_surfaces()Block.get_lbm_wall_velocity_indices_to_reflect()Block.get_lbm_near_corner_velocity_indices_to_reflect()Block.get_lbm_outside_corner_indices_to_reflect()Block.get_lqlga_reflection_data_d1q2()Block.get_lqlga_reflection_data_d1q3()Block.contains_gridpoint()Block.stl_mesh()Block.to_json()Block.name()Block.to_dict()
CircleCircle.get_circle_perimeter()Circle.stl_mesh()Circle.is_point_on_segment()Circle.is_point_on_any_segment()Circle.split_perimeter_points()Circle.to_json()Circle.name()Circle.to_dict()Circle.contains_gridpoint()Circle.get_spacetime_reflection_data_d1q2()Circle.get_spacetime_reflection_data_d2q4()Circle.get_d2q4_volumetric_reflection_data()Circle.expand_axis_segments()Circle.expand_diagonal_segments()
DimensionalReflectionDataReflectionPointReflectionWallReflectionResetEdgeSpaceTimePWReflectionDataSpaceTimeVolumetricReflectionDataSpaceTimeDiagonalReflectionData
- Lattices
- Base Classes
- Lattice Base
LatticeLattice.num_dimsLattice.num_gridpointsLattice.num_velocitiesLattice.num_grid_qubitsLattice.num_velocity_qubitsLattice.num_ancilla_qubitsLattice.num_total_qubitsLattice.velocity_registerLattice.circuitLattice.shapesLattice.registerLattice.discretizationLattice.loggerLattice.parse_input_data()Lattice.parse_geometry_dict()Lattice.to_json()Lattice.get_registers()Lattice.logger_name()Lattice.has_multiple_geometries()
AmplitudeLatticeShape
- Components Base
- Lattice Base
- Amplitude-Based Circuits
- QLGA Circuits
- Infrastructure
- Other Tools