Closed priti-ashvin-shah-ibm closed 2 years ago
closes issue #824.
no
Add the concept of MultiPlanar class. Have the layer_stack_handler register to the class.
I used the below code to test this.
import qiskit_metal as metal from qiskit_metal import designs, draw from qiskit_metal import MetalGUI, Dict, open_docs from qiskit_metal.toolbox_metal.layer_stack_handler import LayerStackHandler design = designs.MultiPlanar() lsh = LayerStackHandler(design) # lsh = LayerStackHandler( # design, # "..\\qm_ssh\\qiskit-metal\\qiskit_metal\\depreciated code\\layer_stack_data_example_depreciated.csv" # ) print(lsh.ls_df) material, fill, z_coord, thickness, chip_name = lsh.get_properties_for_layer_datatype( ['material', 'fill', 'z_coord', 'thickness', 'chip_name'], 1) print(f'{material},{fill},{z_coord},{thickness}, {chip_name}') material, fill, z_coord, chip_name, thickness = lsh.get_properties_for_layer_datatype( ['material', 'fill', 'z_coord', 'chip_name', 'thickness'], 4, 0) print(f'{material},{fill},{z_coord},{chip_name},{thickness}')
closed due to merge.
What are the issues this pull addresses (issue numbers / links)?
closes issue #824.
Did you add tests to cover your changes (yes/no)?
no
Did you update the documentation accordingly (yes/no)?
Did you read the CONTRIBUTING document (yes/no)?
Summary
Add the concept of MultiPlanar class. Have the layer_stack_handler register to the class.
Details and comments
I used the below code to test this.